cuprate_helper

Module time

Source
Expand description

System related

Requires std.

Functions§

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