Re: Daylight savings time timezone conversion automatically?

[email protected] (William Janoch)
Newsgroups perl.datetime
Message-ID <[email protected]>
CAUTION: Adding half a year would be prone to error near the "time  
change" dates.  2:01 am 6 months from now might not even exist if that  
date is "spring forward" day.

It's unlikely that you'd ever need to, but If you ever had to, make  
sure you use a mid summer date like July 1, or mid winter date like  
Jan 1.  A person could do both as a sanity check.  If your input time  
didn't match either you'd know there was a problem.

Wm
Logic is elusive, especially with time.


On Mar 26, 2008, at 12:34 PM, Ewald Beekman wrote:

> How can i see for each zone displayed if it is in DST?
> The only way i could think of is add an offset of half a year
> to the timezone and compare the time's, but that seems a bit overdone
> since the info is there somewhere allready.
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.