API
 
Main Page

Sign Up

Example Apps

Forgotten your account details?

Local Time API Example

The True Knowledge API allows you to find the current local time anywhere in the world. You can also calculate the local time at a specified UTC timepoint, which can be specified in natural language. There is no need as an API user to determine the timezone of the area and calculate the local time in separate steps.

True Knowledge aims to provide the most complete and accurate information on local time available, and as a consequence relies on Daylight Saving Time information. For times a long way into the future or past such information is often unavailable, in which case the knowledge base will return "unknown" rather than risking giving inaccurate answers.

Local time in Include rare interpretations of this string
at time now
at UTC
 

If you choose to specify a timepoint, you can use any natural language expression of the date and time, for example:

  • 4am on the 14th October 2007
  • Midnight 10/14/2007
  • 2007/10/14 04:00

 
 
© 1998-2009 - All rights reserved -True Knowledge Ltd Legal | Privacy