Re: Extracting a time zone from a latitude longitude
| From: | Phpster | Date: | Sat, 21 Nov 2009 17:51:14 +0000 |
| Subject: | Re: Extracting a time zone from a latitude longitude | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300016@lists.php.net to get a copy of this message | ||
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.
Bastien
Sent from my iPod
On Nov 21, 2009, at 12:25 PM, Haig Davis <level510@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