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
#1
Hi,

I have a device it which returns a time stamp,  in the follow format:   1552587707032


Now I need to send the current time back in the same format.  os.time generates a time like 1552589984  which is 3 digits less that what the device is expecting.  Does anybody have an idea how to get the same format?

Thanks,

Roger
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: