lua-users home
lua-l archive

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


> The conclusion is that os.time expects a table in local time and not in utc.
> A os.utime or similar would be quite useful.

Like I said in stackoverflow, unfortunately, os.utime cannot be
implemented within ISO C and POSIX.

Mac OS X has timegm, but the man page says:

     The timegm() function is not specified by any standard; its
     function cannot be completely emulated using the standard
     functions described above.