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

getDateTime function

Returns a date-time value with no time zone information.

Syntax

FUNCTION getDateTime RETURNS DATETIME (itemName AS CHARACTER).

Applies to

Message objects

Notes

*Time zone information, if present, is removed.
*If time information is not present, the default time of 12:00AM (midnight) is added.
*If the application might receive messages originating in different time zones, the ABL programmer should ensure that date/time values are interpreted correctly.

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.