Skip to content

kumo.time.from_unix_timestamp

Since: Dev Builds Only

The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.

local time = kumo.time.from_unix_timestamp(UNIX_TIMESTAMP)

Constructs a new Time object representing the specified unix timestamp.

The timestamp can be either an integer number of seconds, or a fractional number of seconds since the unix epoch.