setDateProperty procedure
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
setDateProperty procedure
Sets a date property in a message header.
Syntax
|
Applies to
Message objects
Notes
- The
date value is set as a
Stringmessage property. - The procedure writes propertyValue as a
DATETIME-TZvalue, adding default time and time zone information:- A time of 12:00AM (midnight)
- The default time zone of the client application
- The format of the
DATETIME-TZvalue is a subset of the ISO8601 format. - An error is returned if the
Unknown value (?)is specified. - If the message might be consumed by a non-OpenEdge application
in a different time zone from that of the sending application, the
ABL programmer must ensure that the receiving application can interpret
the value correctly. OpenEdge applications that receive the message
correctly interpret the
DATETIME-TZvalue.
See also
#rfi1387308696022, getDateProperty function
For more information, see the Accessing message properties.