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

writeDate procedure

Writes a date value as String data to the body of a StreamMessage.

Syntax

PROCEDURE writeDate.
DEFINE INPUT PARAMETER value AS DATE.

Applies to

Message objects

Notes

*The procedure actually 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

createStreamMessage procedure, writeBoolean procedure, writeByte procedure, writeBytesFromRaw procedure, writeChar procedure, writeDate procedure, writeDateTime procedure, writeDateTime-TZ procedure, writeDouble procedure, writeFloat procedure, writeInt procedure, writeLong procedure, writeLongString procedure, writeShort procedure, writeString procedure, endOfStream function, moveToNext procedure, readBytesToRaw procedure, readChar function, readDate function, readDateTime function, readDateTime-TZ function, readDecimal function, readInt function, readLogical function, readLongString function, readLongStringCP function
For more information, see the StreamMessage.