Namespaces
time
Methods
unix_seconds
Returns the current unix timestamp in seconds
function time.unix_seconds(): int
-- example usage
local ts = time.unix_seconds()
unix_milliseconds
Returns the current unix timestamp in milliseconds
function time.unix_milliseconds(): int
-- example usage
local ts = time.unix_milliseconds()