Copyright © 2024 Sebastiaan Heins
long time ()
Returns the current time in seconds.
void sleep (double amount_seconds)
Waits execution for the given amount of seconds (can be decimal).
string dateTime (long time_stamp = current_time_stamp, string format = "%Y-%m-%d %H:%M:%S")
Returns a string representation of the given timestamp.
If no timestamp is given, the current time is used.
If no format is given, the default format is used: YYYY-MM-DD HH:MM:SS
long clock ()
Returns the current time in milliseconds.