add precise_utc_time function

This commit is contained in:
neveix 2026-08-18 21:57:51 +05:00
parent 4111da1230
commit dfcc3e913d
3 changed files with 25 additions and 10 deletions

View file

@ -10,6 +10,9 @@ time.delta() -> number
-- Returns UTC time in seconds
time.utc_time() -> int
-- Returns UTC time in seconds with millisecond precision
time.precise_utc_time() -> number
-- Returns local (system) time in seconds
time.local_time() -> int