mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-07 02:58:56 +00:00
338 B
338 B
kumo.time.from_unix_timestamp
{{since('2025.12.02-67ee9e96')}}
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.