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

setDate procedure

Sets a date value as String data in a MapMessage.

Syntax

PROCEDURE setDate.
DEFINE INPUT PARAMETER itemname as CHARACTER.
DEFINE INPUT PARAMETER value as DATE.

Applies to

Message objects

Notes

*The procedure writes value 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
*If the message might be consumed by an 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.
*The format of the DATETIME-TZ value is a subset of the ISO8601 format.
*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.