setDateTime procedure
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
Sets a date-time value as String data in a MapMessage.
Syntax
|
Applies to
Message objects
Notes
- The date-time value is set as a
Stringmessage property. - The procedure writes value as a
DATETIME-TZvalue, adding default time zone information. The format of theDATETIME-TZvalue is a subset of the ISO8601 format. - If the message might be consumed by a non-OpenEdge 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. OpenEdge applications that receive the
message correctly interpret the
DATETIME-TZvalue. - An error is returned if the
Unknown value (?)is specified.
See also
createMapMessage procedure, setBoolean procedure, setByte procedure, setBytesFromRaw procedure, setChar procedure, setDate procedure, #rfi1387308644384, 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.