When you create a dateTime object in the MRM, 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
list 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 TDS, XML, and all CWF physical formats except
those mentioned later on in this topic. This is described further
in DateTime as STRING data.
- Binary data. This is for the CWF Binary physical format. See DateTime
as CWF BINARY data for more information.
- An offset from an epoch in seconds or milliseconds. This is used if you
have set the CWF Physical Type property to Time Seconds or Time
Milliseconds respectively. See DateTime
as CWF 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 set defaults.