lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Is the number returned by os.time() the same on Macs and Windows at
any given time? On a Mac:

> print("%c", 1))
--> Thu Jan  1 10:00:01 1970

... which is as expected for a Unix machine. Is this the case on
Windows (I don't have that kind of access to a Windows machine!), or
at least can I do an easy conversion with an offset?

Thank you,