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.

os.time()
#4
(04.12.2018, 13:50)admin Wrote: It is UNIX timestamp, number of seconds from January 1st, 1970. You can use os.date(fmt, time) to convert to human-readable date. If you need a relative value (hours, minutes etc between two timestamps) then you need to convert manually using / and % math operators.

Hi admin, is there any way to get UNIX 13-digit timestamp rather than the 10-digit?
Reply


Messages In This Thread
os.time() - by AlexLV - 04.12.2018, 13:32
RE: os.time() - by admin - 04.12.2018, 13:50
RE: os.time() - by Zen - 10.03.2023, 19:43
RE: os.time() - by AlexLV - 04.12.2018, 15:05
RE: os.time() - by Erwin van der Zwart - 11.03.2023, 07:25
RE: os.time() - by Zen - 11.03.2023, 17:50
RE: os.time() - by admin - 13.03.2023, 07:48
RE: os.time() - by Zen - 13.03.2023, 08:14

Forum Jump: