Module time

Source
Expand description

System related

Requires std.

Functions§

current_unix_timestamp
Returns the current system time as a UNIX timestamp.
secs_to_clock
Convert seconds to clock time, hours, minutes and seconds.
secs_to_hms
Convert seconds to hours, minutes and seconds.
time
Get the current system time in the system’s timezone
time_utc
Get the current system time in the UTC timezone
unix_clock
Get the clock time of a UNIX timestamp