Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Converting epoch times after 2038

by mattr (Curate)
on Apr 08, 2007 at 00:31 UTC ( #608871=note: print w/replies, xml ) Need Help??


in reply to Converting epoch times after 2038

Hi,

How about trying Time::TAI64. I have not tried it myself but it looks interesting.

The only thing is that TAI does not use leap seconds. However this is not a big problem it would seem, neither for you or for astronomers who might use the attosecond based extension.

Perhaps so long as you set the date of a bond to be NOON every day or any other time but say 00:00:00 midnight, there will be no problem. TAI uses leap second tables (for those known in the past) but even so it would only be probably a few seconds difference over 50 years (see the cr.yp.to link below).

Also check out libtai info at cr.py.to and MJD post in 2000 (met him in Tokyo for YAPC::Asia a few days ago!! Hi MJD!)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://608871]
help
Chatterbox?
[Lady_Aleena]: robby_dobby, at least you aren't driving. I seem to always be driving somewhere in my dreams and end up at a weird house.
[robby_dobby]: LA: That's there. But this is work and it's the same thing as falling asleep driving :-)
[Lady_Aleena]: I love the dream where I was at a huge house and decided to go swimming in the pool, but then the tour group showed up.
choroba fell asleep while driving half a year ago
[choroba]: fortunately, only the traffic sign and the car were damaged
[Discipulus]: fall asleep? coffee time!
Discipulus when in motorbike it is impossible to fall asleep.. another advantage

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-05-29 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?