writeDate procedure
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Writes a date 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:- 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-TZvalue 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.