On 21 Nov 2009, at 17:51, Phpster wrote: > This is a simple math problem. Create am array with a start and end longitude > for that timezone and run a comapre from your lay/long co-ords to see where > it falls.
It's not that simple because timezones boundaries don't run in straight lines from pole to pole. I Googled and got this among several others... http://stackoverflow.com/questions/41504/timezone-lookup-from-latitude-longitude -Stuart -- http://3ft9.com/ > On Nov 21, 2009, at 12:25 PM, Haig Davis <level...@gmail.com> wrote: > >> Good Morning all, >> >> Having a look at the time zone functions in PHP you can enter a time zone >> city and get it's lat long. Does anybody know how you can run the function >> in reverse (or know of a similar function) i.e. get the time zone city from >> the geographic coordinates. Google maps was a thought but the functions are >> only for use in google maps which rules out my use for them. >> >> Have a great weekend. >> >> Cheers > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php