Times
Functions
-
Queries the ticks of the high-resolution counter of CPU.
-
Queries the resolution of high-resolution counter of CPU represented by number of ticks per second.
-
Gets the UTC timestamp of the current time.
-
Gets the timestamp of the current time shiftted by the timezone setting of the current platform.
-
i64 local_timestamp_to_utc_timestamp(i64 local_ts)
Converts a local timestamp to a UTC timestamp based on the timezone setting of the current platform.
-
i64 utc_timestamp_to_local_timestamp(i64 utc_ts)
Converts a UTC timestamp to a local timestamp based on the timezone setting of the current platform.
-
DateTime timestamp_to_datetime(i64 timestamp)
Converts a timestamp to a calendar date time.
-
i64 datetime_to_timestamp(const DateTime &datetime)
Converts a data time structure to a timestamp, without any timezone shift.