![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | hsn |
Hi
I want to get milliseconds on the timestamp e.g date time seconds milliseconds. I know there is a way to get milliseconds using
OS.get_ticks_msec()
but this returns the time elapsed till the game started however I want to know the current date time seconds milliseconds.
Thanks
Do you mean get_system_time_msecs? Or for a timer in the game?
Magso | 2019-11-21 21:55
Yeah
Thanks alot it works perfectly fine.
OS.get_system_time_msecs()
hsn | 2019-11-21 22:08
@magso can you please write it as answer so I should vote it for the best answer then ?
hsn | 2019-11-21 22:09
Well, the answer is rtfm seeing as get_system_time_msecs()
is two up from get_ticks_msec()
in the docs.
Magso | 2019-11-21 22:41