On Sun, Dec 08, 2002 at 05:17:19PM +0000, Tamsin wrote: > Does anyone know how I'd go about finding out the time zone offset > for a given time zone name?
Yes, there have been mine & Mark's solution. What do you need it for? Does the info need to stay extremely current? If not, you could just batch process the results and get a list of places & offsets rather than polluting your code employing some horrid hack in real time. Time::ZoneInfo will give you a list of the zone names and then any of the solutions so far could be used to create a tie'able file (DBM, CDB, etc). Make sense? Paul -- Paul Makepeace ....................................... http://paulm.com/ "What is a brown derby? Makes a mess." -- http://paulm.com/toys/surrealism/