Re: How to Compute Hours In a Day?

[email protected] (Eugene van der Pijll)
Newsgroups perl.datetime
Message-ID <[email protected]>
[email protected] schreef:
> I want to iterate the time zones of the world to generate a report of
> all days that aren't exactly 24 hours. I want to handle
> America/Caracas and America/Sao_Paulo correctly. You mentioned
> 2007-12-09 was 24.5 hours long in Venezuela. This is precisely the
> kind of outliers I'm after.

If you want to handle the Sao Paulo situation correctly, measure the
intervals between two middays (12:00), instead of between midnights (0:00).

It should show the same non-24 hour days, except when there are two DST
changes in one day. Which is unlikely, but not impossible, given that
DST is defined by politicians.

Eugene
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.