Module posix.sys.time

Get and Set System Date and Time.

Functions

gettimeofday () Get time of day.

Tables

PosixTimeval Time value.


Functions

gettimeofday ()
Get time of day.

Returns:

    PosixTimeval time elapsed since epoch, if successful

Or

  1. nil
  2. string error message
  3. int errnum

See also:

Tables

PosixTimeval
Time value.

Fields:

  • tv_sec int seconds elapsed
  • tv_usec int remainder in microseconds

See also:

generated by LDoc 1.5.0 Last updated 2023-06-16 20:19:12