wordDay
uniform int worldDay;
This value stores the world day, which is the amount of in-game days that have passed since the beginning of the world. This is equivalent to the command time query day
and the value shown in the f3 menu. This value is reset by any time set
command.