Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: How to use a different epoch with DateTime

by haukex (Archbishop)
on Feb 16, 2017 at 09:16 UTC ( [id://1182130]=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to use a different epoch with DateTime
in thread How to use a different epoch with DateTime

Hi anita2R,

The man page for DateTime notes that it does not account for leap seconds, so your results may be out.

The section of the doc you are quoting refers only to the special "floating" time zone (Update: I consider the "floating" time zone to be the equivalent of "no time zone"). When you specify any time zone (including UTC), DateTime does handle leap seconds.

Regards,
-- Hauke D

  • Comment on Re^4: How to use a different epoch with DateTime

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-23 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found