ORCAv2 timestamp format

ORCAv2 (see ORCA2.xsd) is a PTV protocol designed for handling large amounts of data concerning transportation information over the network.

For all ORCA2 formatted responses, the timestamp information format is compliant with standard ISO 8601.

ISO 8601 provides several options that can be used to format a timestamp.

Optima supports XML dates, so you can either express an explicit timezone, or omit it.

If you push data without an explicit time zone, it is considered as expressed in the local time zone.

If you push data with an explicit timezone, it is nonetheless converted to the local timezone and stored accordingly.

The local date and time are set according to the AS process, and they are usually the same as those of the physical server where the AS is running.

Important:  An ORCA2 formatted response can embed DATEXII elements, that can use different timestamp formatting.

Example of a DB set in Europe/Rome timezone

In winter (UTC+1 in Rome), expressing an explicit timezone:

INPUT=2015-12-11T17:10:00.000+02:00
In DB=2015-12-11 16:10:00.000

In summer (UTC+2 in Rome), expressing an explicit timezone:

INPUT=2015-05-11T17:10:00.000+02:00
In DB= 2015-05-11 17:10:00.000

Topics in this section