Api > MLCelestialData > GetLocalTime()
MLCelestialData.GetLocalTime()⚓︎
Get current machine independent local time based on specified time zone (in seconds since epoch, similar format as os.time()).
Returns:⚓︎
type | Description |
---|---|
number | local time |
Usage⚓︎
---@type MLCelestialData
local mlcelestialdata;
local val0 = mlcelestialdata.GetLocalTime()