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 = ?, string format = ?)
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.