lua-users home
lua-l archive

Re: os.time epoch on Windows

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


Vaughan McAlley wrote:
.. 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?
XP, Lua 5.1.2:
 print(os.date("%c", 1))
 01/01/70 01:00:01
Date in European format. Note the difference in time (is that a typo?).
 Enrico

AltStyle によって変換されたページ (->オリジナル) /