Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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!)


In reply to Re: Converting epoch times after 2038 by mattr
in thread Converting epoch times after 2038 by kurre_vaxholm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-16 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found