[Python-ideas] Reduce platform dependence of date and time related functions

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Sep 17 19:29:43 CEST 2013

On Tue, Sep 17, 2013 at 12:49 PM, <random832 at fastmail.us> wrote:

> 32-bit platforms are still limited by the range of
> time_t for gmtime [and e.g. datetime.fromtimestamp],

datetime.fromtimestamp() is not the same as gmtime.  You should use
datetime.utcfromtimestamp()  which is only limited by supported date range
(years 1-9999).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130917/54474837/attachment.html>

More information about the Python-ideas mailing list