Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : setDateProperty procedure
 

setDateProperty procedure

Sets a date property in a message header.

Syntax

PROCEDURE setDateProperty.
DEFINE INPUT PARAMETER propertyName AS CHARACTER.
DEFINE INPUT PARAMETER propertyValue AS DATE.

Applies to

Message objects

Notes

*The date value is set as a String message property.
*The procedure writes propertyValue as a DATETIME-TZ value, 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-TZ value 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-TZ value.

See also

setDatePropertyprocedure, getDatePropertyfunction
For more information, see the Accessing message properties.