Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Converting epoch times after 2038

by jonadab (Parson)
on Apr 05, 2007 at 10:21 UTC ( #608440=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Converting epoch times after 2038
in thread Converting epoch times after 2038

Cause 32 bit system can only handle epoch before 2038 (2**32) if they rely on the unix built in timegm..

The CPU architecture can be 32 bit, as long as a larger size of value is used for times. The code he posted works for me on FreeBSD, on a 32-bit x86 system. Apr 10, 2087 it says.

-- 
We're working on a six-year set of freely redistributable Vacation Bible School materials.


Comment on Re: Converting epoch times after 2038

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://608440]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-09-21 06:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (167 votes), past polls