Time of day (0.0 - 1.0)
Set the time of day.
Time as a fraction (0.0 = midnight, 0.25 = dawn, 0.5 = noon, 0.75 = dusk)
Set how many real-world seconds make up one full in-game day.
Day length in seconds (default 180)
Check whether it is currently nighttime.
True if nighttime
Check whether it is currently daytime.
True if daytime
Check whether it is currently dawn or dusk (transitional light).
True if in a transitional period
Get the current time of day as a fraction (0.0 = midnight, 0.5 = noon, 1.0 = next midnight).