develooper Front page | perl.datetime | Postings from October 2008

Re: I'd tell you how long it'll take for my hair to fall out but I'm struggling with duration!

Thread Previous
From:
Eugene van der Pijll
Date:
October 1, 2008 09:35
Subject:
Re: I'd tell you how long it'll take for my hair to fall out but I'm struggling with duration!
Message ID:
20081001163423.GA454@alva.mail.gmail.com
Zefram schreef:
> Kristian Flint wrote:
> >definitely a fixed number of seconds in a day
> 
> Leap seconds.  DateTime doesn't really do them correctly -- actually its
> time scale is a bit schizophrenic at the sub-second level -- but it does
> represent leap seconds that it knows about.  So some days, about one in
> 500, have 86401 seconds.

Even more importantly: about 1 in 365 days has 82800 seconds, and the
same number has 90000 seconds, in most parts of the world (DST).

Eugene

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About