[Haskell-cafe] Converting EpochTime to Integer

Brandon Allbery allbery.b at gmail.com
Wed Sep 16 14:06:44 UTC 2015


On Wed, Sep 16, 2015 at 9:54 AM, Roman Cheplyaka <roma at ro-che.info> wrote:

> Except that's not 2038-safe (fromEnum :: Enum a => a -> Int).


Neither is EpochTime, to the extent that it is defined by Posix in a way
that is not Y2038 safe.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150916/abca5e3f/attachment.html>


More information about the Haskell-Cafe mailing list