From: Gene Tani Date: 2006-02-02T06:37:08+09:00 Subject: Re: Time zone offset and daylight saving easleydp@gmail.com wrote: > I don't seem to be able to correctly calculate the time offset between > two time zones when daylight saving is in effect. The code below > demonstrates that Ruby knows about daylight saving, but I get the wrong > answer when I calculate the offset. > > BTW, yes, I know I can use Time#utc_offset, but I believe that depends > on me actually being in that timezone. I'm looking for a way to > calculate the offset between two arbitrary timezones, neither of which > is my local timezone. > > Thanks for any help. > > David > -- i have a note to check out this Olson tz dtabase but haven't gotten round to it http://python.codezoo.com/pub/component/3848?category=193