Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Leap Second

by Perl Mouse (Chaplain)
on Dec 31, 2005 at 02:01 UTC ( [id://520097]=note: print w/replies, xml ) Need Help??


in reply to Leap Second

It doesn't have to. Under Unix time keeping, leap seconds don't exist. Computer clocks will have to be adjusted.
Perl --((8:>*

Replies are listed 'Best First'.
Re^2: Leap Second
by adrianh (Chancellor) on Dec 31, 2005 at 17:13 UTC
    It doesn't have to. Under Unix time keeping, leap seconds don't exist. Computer clocks will have to be adjusted.

    While the the whole POSIX time / leap seconds issue is a rather complicated mess (for those interested in gory details see The Future of Leap Seconds, History of IEEE P1003.1 POSIX time and Unix time) I'm not sure how it's relevant to how Date::Calc handles leap seconds?

    Indeed, as documented, Date::Calc says that Time_to_Date() and Date_to_Time() take/return UTC time values that include leap seconds. The documentation appears to be lying though :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-03-28 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found