GM_build_date

Holds the date/time value generated when the executable was compiled.

Syntax:

GML Code Example

GM_build_date;


Returns: Real


Description

This constant holds the date and time on which the executable being run was built by GameMaker: Studio. The value can be parsed using the Date and Time functions and is taken from the system UTC value at compile time.


Example:

GML Code Example

draw_text(32, 32, date_time_string(GM_build_date));
 draw_text(32, 64, "v" + GM_version);
 

The above code will draw the version number for the game and the date and time it was compiled on.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here