Message Sets: DateTime formats
When you create an element or attribute with a simple type of dateTime, you must specify a format string in the object's Format String property for each physical format layer (CWF, TDS, XML).
You can use the symbols defined in the following information to control the format in which the dateTime appears in the message data.
You can only use dateTime for Gregorian calendar dates.
DateTime information can appear in a message as:
- String data. This includes XML, and all TDS and CWF physical types except those mentioned in this section. This is described further in Message Sets: DateTime as string data .
- Binary data. This is for the TDS or CWF Binary physical type. See Message Sets: DateTime as BINARY data for more information.
- An offset from an epoch in seconds or milliseconds. This is used if you have set the TDS or CWF Physical Type property to Time Seconds or Time Milliseconds respectively. See Message Sets: DateTime as encoded values for details of this option.
The defaults that are set for each message set property that relates to dateTime, for each physical representation (CWF, TDS, XML), are defined in Message Sets: Message set defaults.