setDate procedure
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Sets a date value as String data in a MapMessage.
Syntax
|
Applies to
Message objects
Notes
- The procedure 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
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.