News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Hasin Hayder's Blog:
WorldTimeEngine - How about making your own in PHP?
March 10, 2008 @ 11:17:00

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.

0 comments voice your opinion now!
world time engine example yahoo api webservice geonames


blog comments powered by Disqus

Similar Posts

Hasin Hayder's Blog: WorldTimeEngine - How about making your own in PHP?

Matthew Weier O'Phinney: RESTful APIs with ZF2, Part 3

SitePoint PHP Blog: Translation and Text-to-Speech with Microsoft Translator

AxisVista Blog: PHP5 DOM Based Template Engine

VG Tech: Avoid Dependency on 3rd Party Sources with Composer


Community Events











Don't see your event here?
Let us know!


unittest framework performance release symfony2 hhvm composer security application opinion hack database install package language facebook podcast component introduction overview

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