Page 1 of 1

how to get current timestamp?

Posted: Fri Feb 22, 2019 2:53 am
by kevinma
os.time() is not work since missing the os table.

on_tick event may help, but is there any other ways?

Re: how to get current timestamp?

Posted: Fri Feb 22, 2019 3:52 am
by DaveMcW
game.tick

The only way to get real time is to host a server and have a script synchronize the time.

Re: how to get current timestamp?

Posted: Fri Feb 22, 2019 4:42 am
by RabbitKiller
There's a time spent mod but ain't seen a timestamp

Re: how to get current timestamp?

Posted: Fri Feb 22, 2019 6:24 am
by darkfrei
The only one time is

Code: Select all

local tick = game.tick