GM_build_date

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

 

Syntax:

GM_build_date;

 

Returns:

Datetime

 

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.