Functions | |
| TimeDate | int64ToTimeDate (int64 integer) |
| int64_t | dateTimeToInt64 (const TimeDate &timeDate) |
| Common::String | formatTime (int64 integer) |
| int64 | getTime () |
Utility functions for converting a TimeDate structure into an integer representation of the time, and vice versa. The integer representation is the number of seconds since the Unix epoch (1970-01-01 00:00:00 UTC).
| TimeDate Common::DateTime::int64ToTimeDate | ( | int64 | integer | ) |
Convert a time value (number of seconds since the Unix epoch) to a TimeDate struct representing the corresponding date and time components.
| int64_t Common::DateTime::dateTimeToInt64 | ( | const TimeDate & | timeDate | ) |
Convert a TimeDate struct representing date and time components to a time value (number of seconds since the Unix epoch).
| Common::String Common::DateTime::formatTime | ( | int64 | integer | ) |
Convert a time value (number of seconds since the Unix epoch) to a human-readable string format.
| int64 Common::DateTime::getTime | ( | ) |
Get the current time as a time value (number of seconds since the Unix epoch).