Date and Time Formats Supported by the Generic Input Data Link

Whether you are sending data to the Generic Input Data Link in a text or XML format, there are several different supported date and time formats you can choose from:

Formats Supported by Windows

Depending on the Windows operating system and locale settings of the machine hosting Tracking Server, there is a list of supported time formats. The Generic Input Data Link can understand and parse any of these supported formats. For example, if you are using the English (United States) locale, then a commonly supported date and time format is M/dd/yyyy h:mm:ss tt. An example of a data value matching this format is 3/19/2010 8:35:25 PM.

Formats Matching Esri Standards

Esri has developed a standard set of supported date and time formats. The Generic Input Data Link can receive data in any of Esri's supported text formats.

Supported Text Formats

  • YYYY
  • YYYYMM
  • YYYY/MM
  • YYYY-MM
  • YYYYMMDD
  • YYYY/MM/DD
  • YYYY-MM-DD
  • YYYYMMDDhhmmss
  • YYYY/MM/DD hh:mm:ss
  • YYYY-MM-DD hh:mm:ss
  • YYYYMMDDhhmmss.s
  • YYYY/MM/DD hh:mm:ss.s
  • YYYY-MM-DD hh:mm:ss.s

where

  • YYYY = four-digit year
  • MM = two-digit month (01=January)
  • DD = two-digit day of month (01 through 31)
  • hh = two digits of hour (00 through 23) (A.M./P.M. not allowed)
  • mm = two digits of minute (00 through 59)
  • ss = two digits of second (00 through 59)
  • ss.s = two digits of second, including decimal sub-seconds

Formats Matching the ISO 8601 Standard (extended format)

ISO date and time formats can have two different forms: a basic format with a minimal number of separators or an extended format with separators added to enhance human readability. The Generic Input Data Link only supports the extended format.

The following are all examples of supported ISO formats (extended format):

where

Below are examples of data values using the ISO formats listed above:

Because the ISO standard is based on UTC (all times are expressed in relation to UTC), offset from UTC is inherent in the data values. The Generic Input Data Link will automatically convert all date and time data received in a supported ISO format into the time zone specified in the message definition.

8/28/2015