Skip to main content

Timestamp

A Timestamp value represents a date and time, measured as the number of non-leap milliseconds since the Unix timestamp (midnight, 1 January 1970). You can retrieve a timestamp for the start of the game using GameStartTimestamp

Timestamp literals can be specified using the prefix #. They must follow one of these formats:

#2024-12-31
#2024-12-31T23:59
#2024-12-31T23:59:59
#2024-12-31T23:59:59.999