Home  |  Linux  | Mysql  | PHP  | XML
From:Eugene van der Pijll Date:Wed Oct  1 10:34:23 2008
Subject:Re: I'd tell you how long it'll take for my hair to fall out but I'm struggling with duration!
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
Navigate in group perl.datetime at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants