Date and time.
Date and time.
Information about a specific timestamp, simplified into its common components.
Gets the current machine timestamp in seconds. Also commonly referred to as epoch time.
int64 Gets the number of frames that Openplanet has processed. Note that this is not the same as the game's own frame counter; it may be off by a number of frames.
uint64 Format a time into the given format as specified by strftime in the local time.
string Format a time into the given format as specified by strftime in UTC.
string Parses a time from a string into a timestamp.
int64 Format a game time (in milliseconds) to its race time representation. For example, 61234 will be "1:01.234".
string Format a game time (in milliseconds) to its race time representation. For example, 61234 will be "1:01.234".
string Parses a relative game time from its race time representation.
uint64 Parses a time into a structure containing individial time components in the local time.
Time::Info Parses a time into a structure containing individial time components in UTC.
Time::Info