GM_build_date

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

Syntax:

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:

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.


Back: Miscellaneous
Next: GM_version
© Copyright YoYo Games Ltd. 2018 All Rights Reserved