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

setDateTime procedure

Sets a date-time value as String data in a MapMessage.

Syntax

PROCEDURE setDateTime.
DEFINE INPUT PARAMETER itemName AS CHARACTER.
DEFINE INPUT PARAMETER value AS DATETIME.

Applies to

Message objects

Notes

*The date-time value is set as a String message property.
*The procedure writes value as a DATETIME-TZ value, adding default time zone information. The format of the DATETIME-TZ value is a subset of the ISO8601 format.
*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.
*An error is returned if the Unknown value (?) is specified.

See also

createMapMessage procedure, setBoolean procedure, setByte procedure, setBytesFromRaw procedure, setChar procedure, setDate procedure, setDateTime procedure, setDateTime-TZ procedure, setDouble procedure, setFloat procedure, setInt procedure, setLong procedure, setLongString procedure, setShort procedure, setString procedure, getMapNames function, getItemType function, getBytesToRaw function, getChar function, getDate function, getDateTime function, getDateTime-TZ function, getDecimal function, getInt function, getLogical function, getLongString function, getLongStringCP function
For more information, see the MapMessage.