Request Structure

Every request consists of the following 3 parts:

  1. Entry point: currently, there is only one entry point available, supporting either HTTP or HTTPS connections:
    • http://api.xmltime.com/
    • https://api.xmltime.com/
  2. Service name: the service you want to call.
  3. Parameters: Any parameters for the request. Please note that all parameter values have to be URL encoded. Generally, parameters are separated by using the ampersand sign (&), but it is also accepted to use the semicolon (;) to separate parameters (see [HTML401]).

Example request: http://api.xmltime.com/timeservice?version=2&accesskey=hs82js4vdo&timestamp=2011-04-12T07%3A54%3A14%2B00%3A00&signature=4KvntdTApUC2MO6FJQqwYeVxQX0%3D&placeid=187

Note

Although the version parameter is optional, you should always specify it. The services will otherwise default to version 1 and issue a warning message.
prev top | next >
Terms & Conditions Copyright © Time and Date AS
All data supplied by timeanddate.com