Allows you to get all sorts of fun information about the current date and time.
Just call these functions from the DateTime Lua script:
Available API functions:
-- TIME --
GetSecond() 0 - 59
GetMinute() 0 - 59
GetHour() 0 - 23
GetTime() e.g. 14:50:29 (optional seconds)
-- DATE --
GetDayOfWeek() 0 - 6 (note: Sunday = 0)
GetDayOfMonth() 1 - 31
GetMonth() 1 - 12
GetYear() e.g. 2020
GetDayOfYear() 1 - 365