Skip to content

Api > MLCelestialData > GetUTCTime()


MLCelestialData.GetUTCTime()⚓︎

Current local machine independent UTC time (in seconds since epoch, similar format with os.time).

Returns:⚓︎

type Description
number UTC time in seconds.

Usage⚓︎

---@type MLCelestialData
local mlcelestialdata;


local val0 = mlcelestialdata.GetUTCTime()