Skip to content

time


unix_seconds

int time.unix_seconds()

Returns the current unix timestamp in seconds
Example Usage
local ts = time.unix_seconds()

unix_milliseconds

int time.unix_milliseconds()

Returns the current unix timestamp in milliseconds
Example Usage
local ts = time.unix_milliseconds()