Timeanddate.com is an online resource for information on local times worldwide, time zones, holidays, dialing codes, sun/moon rise and set times, and much more. The timeanddate.com API provides developer access to the siteâ€™s data via HTTP calls. IP geo-location is supported. Responses may be XML or JSON formatted. The API has a query builder form to assist in constructing calls.