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()
#6
(11.03.2023, 07:25)Erwin van der Zwart Wrote: I assume you need this: os.microtime()

No sir, it produce the same result

Code:
Code:
-- os.time() -- 10-digit timestamp
os_time = os.time()
log('os_time: '..os_time)

-- os.microtime()
os_micro = os.microtime()
log('os_microtime: '..os_micro)
 
Result: 
Code:
os time 13-digit try 11.03.2023 18:45:48
* string: os_time: 1678556748
os time 13-digit try 11.03.2023 18:45:48
* string: os_microtime: 1678556748
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: