How to Compute Hours In a Day?

[email protected]
Newsgroups perl.datetime
Message-ID <[email protected]>
How do I compute the number of hours in a day in a specific time zone?
 
Let's say I want to iterate the days of the year from Jan 1 thru Dec 31
and print the number of hours in each day in the America/New_York time
zone. I expect 363 days to have 24 hours, one day to have 23 hours, and
one day to have 25 hours. I want to know how best to compute these
numbers of hours in each day.
 
Jim Monty
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.