GM_build_date

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 2. 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.