News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



Hasin Hayder's Blog:
WorldTimeEngine - How about making your own in PHP?
0 comments :: posted Monday March 10, 2008 @ 11:17:00
voice your opinion now!

Hasin Hayder has posted an example of a "world time search" he's worked up that uses the geonames.org and Yahoo! developer APIs to pin down the time at any given location.

I recently came by this site WorldTimeEngine where users can search the local time of any place using the name, street address or just latitude and longitude. Since that time I was thinking how easily you can make your own. As long there are some good people over there (For Geocoding API) - its a not a big deal, you know?

His script pulls the location of the place (latitude/longitude) from the Yahoo! geocoding API and passes that back into the geonames web service to get the local time. The result is an array with the lat/long, address you submitted and the time output in a standard string.

tagged with: world time engine example yahoo api webservice geonames



conference release PHP5 releases zend mysql pecl code package PEAR framework developer zendframework security job application cakephp book database ajax

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework