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

writeDateTime procedure

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

Syntax

PROCEDURE writeDateTime.
DEFINE INPUT PARAMETER value AS DATETIME.

Applies to

Message objects

Notes

*The procedure actually writes value as a DATETIME-TZ value, adding default time and time zone information.
*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 may 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.

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.