[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: os.time epoch on Windows
- From: Vaughan McAlley <ockegheim@...>
- Date: Tue, 5 May 2009 01:19:46 +1000
Is the number returned by os.time() the same on Macs and Windows at
any given time? On a Mac:
> print(os.date("%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,
Vaughan