This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

time in lua
#2
Hi Roger,

I think it's a UNIX microtime format with milliseconds included.

I would try to do this to make it os.time() format (seconds):

Code:
value = 1552587707032
value = math.floor((value/1000))
log(value) --> 1552587707

BR,

Erwin
Reply


Messages In This Thread
time in lua - by rocfusion - 14.03.2019, 21:13
RE: time in lua - by Erwin van der Zwart - 14.03.2019, 22:25
RE: time in lua - by rocfusion - 14.03.2019, 23:01
RE: time in lua - by admin - 15.03.2019, 07:09
RE: time in lua - by rocfusion - 15.03.2019, 19:43

Forum Jump: