Total Miner

(Official) LUA Scripting Documentation

get_utc

Returns the current UTC time.


Spec:

get_utc()

Returns


Examples

get_utc().day

If the current utc date is 5/18/2026 this will return 18.


get_utc().dayofweek

If the current utc day is Monday this will return 1.


get_utc().unix

If the current utc date is 5/18/2002 (M/DD/YYYY) at 12:00pm this will return 1779105600. The UNIX timestamp is in seconds.


Incomplete

This documentation is incomplete


back