Release 10.1A: OpenEdge Development:
Web Services

> ## DATETIME-TZ

> Table D–4 describes the supported castings in each 4GL parameter mode (`INPUT` and `OUTPUT`) between the 4GL `DATETIME-TZ` type and XML Schema.

> Table D–4: 4GL data type cast—DATETIME-TZ
> For this XML Schema type... | In this 4GL parameter mode... | OpenEdge...
> --- | --- | ---
>     string
>     normalizedString
>     INPUT
> | Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules.
>     OUTPUT
> | De-serializes the string value from the SOAP response message into the 4GL parameter according to the XML Schema serialization rules as if the 4GL `DATETIME-TZ( )` function was called on the string.
>     dateTime
>     INPUT
> | Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules including the time zone.
>     OUTPUT
> | De-serializes the XML Schema value from the SOAP response message into the 4GL parameter according to the XML Schema serialization rules.
>     date
>     INPUT
> | Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules. The time part of the `DATETIME-TZ` value is lost, but the time zone part of the `DATETIME-TZ` value is retained.
>     OUTPUT
> | De-serializes the XML Schema value from the SOAP response message into the 4GL parameter according to the XML Schema serialization rules. The 4GL `DATETIME-TZ` value has the time set to 12:00 midnight.

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