Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## setDateTime-TZ procedure

> Sets a date-time value, including time zone information in a `MapMessage`.

> #### Syntax

>     PROCEDURE setDateTime-TZ.
>     DEFINE INPUT PARAMETER itemName as CHARACTER.
>     DEFINE INPUT PARAMETER value as DATETIME-TZ

> #### Applies to

> Message objects

> #### Notes

> - The date-time value, including time zone information, is set as a `String` message property.

> - An error is returned if the Unknown value (`?`) is specified.

> - If the message might be consumed by a non-4GL application in a different time zone from that of the sending application, the 4GL programmer must ensure that the receiving application can interpret the value correctly. 4GL applications that receive the message correctly interpret the `DATETIME-TZ` value.

> #### 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" section.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095