[windev] Calculating DST switch moments of many future years

Jeremy H. Griffith jeremy at omsys.com
Thu Mar 26 20:26:10 GMT 2009


On Thu, 26 Mar 2009 02:28:43 -0700 (PDT), Goran Pusic 
<goran_pusic at yahoo.com> wrote:

>I need to calculate UTC moment for DST switches for a given time zone

You have a problem right there.  Not all locations in a given
time zone make the switch at all.  For example, in the US,
Arizona in the Mountain tz doesn't.  So you may also need to
account for country, state, province, and even locality.

-- Jeremy H. Griffith, at Omni Systems Inc.
  <jeremy at omsys.com>  http://www.omsys.com/


More information about the Windev mailing list