mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add precise_utc_time function
This commit is contained in:
parent
4111da1230
commit
dfcc3e913d
3 changed files with 25 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue