DateTimeGMT() Function
- Last UpdatedMar 01, 2021
- 1 minute read
Returns the number of days (including fractions of a day) that have passed since January 01, 1970 in Coordinated Universal Time (UTC).
Note: This function cannot be used in animation display links.
Syntax
result = DateTimeGMT();
Return Value
Number of days since January 01, 1970 in UTC. A literal real value.
Example(s)
This script returns the current date/time in UTC.
StringFromTime(DateTimeGMT() * 86400.0, 3);