Skip to content

__mktime__

builtin · libnexusinterp/corefcn/time-proprietary.cc

: seconds = __mktime__ (tm_struct)

Convert a broken-down local-time structure tm_struct back into a count of seconds since the epoch.

tm_struct must be a scalar structure in the form produced by localtime; any numeric field that is absent is taken to be zero. An argument that is not a structure raises an error.