Skip to content

kumo.time.from_unix_timestamp

Since: Version 2025.12.02-67ee9e96

The functionality described in this section requires version 2025.12.02-67ee9e96 of KumoMTA, or a more recent version.

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.