GM_build_date


描述

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.


语法:

GM_build_date;


返回:

Real(实数)


例如:

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.