writeDateTime procedure
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Writes a date-time value as String data to the body of a
StreamMessage.
Syntax
|
Applies to
Message objects
Notes
- The procedure actually writes value as a
DATETIME-TZvalue, adding default time and time zone information. - The format of the
DATETIME-TZvalue 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.