lua-users home
lua-l archive

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


----- Message d'origine ----- De : "Vaughan McAlley" <ockegheim@gmail.com>
À : "Lua list" <lua@bazar2.conectiva.com.br>
Envoyé : 4 mai 2009 11:19
Objet : os.time epoch on Windows


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


Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
print(os.date("%c", 1))
12/31/69 19:00:01


Microsoft Windows XP [version 5.1.2600]
French Edition

!?