[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Back and forth UTC dates
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 28 Mar 2017 12:50:58 -0300
> 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.