Re: Lat/Lon to Local Time



Try this for your data:

http://www.twinsun.com/tz/tz-link.htm

Or, look for GIS data sources for this stuff. They've already got the
what/where part of it figured out.


On 3 Jul 2006 07:14:30 -0700, "Anna" <annalahoud@xxxxxxxxx> wrote
(with clarity & insight):

I am writing a program that must calculate local time from
latitude/longitude. I realize this is not a trivial undertaking, given
the social and political issues of time zones. However, it seems to me
that there are programs I've seen that surely must know the algorithm.
Table based lookup is highly undesirable but will do if there are no
other solutions available.

Does anyone know how this is done?
.