Re: Time zones table

From: Date: Sat, 24 Mar 2001 21:44:37 +0000
Subject: Re: Time zones table
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6280@lists.php.net to get a copy of this message
If only it were that easy. Due to local preferences some TZs do not observe Daylight Savings time so the "Time difference" depends a lot on what the date is and what rules that TZ uses to calculate the offset. I am in the process of writing an application (not in PHP) that will give the correct offset from GMT for a given time and date and it is pretty complex. I am basing my application on the data at ftp://elsie.nci.nih.gov/pub/ which has a list of all time zones, offsets and how to determine if you are in Standard or Daylight Savings time. It also looks like it has some C code and perl (I think) to parse the data but I don't know either of these so I am going to roll my own. Zane Appel On Sat, 24 Mar 2001 23:31:44 +0200, Andris Jancevskis <ajandris@parks.lv> wrote: >Hi, > > Does somebody point to or give information about ALL TIMEONES on the > World. I want complete list and time difference for each. > >-- >Best regards, > Andris > mailto:ajandris@parks.lv

« previous php.windows (#6280) next »