Try OpenEdge Now
skip to main content
Web Services
Data Type Conversion Rules for ABL Calls to OpenEdge SOAP Web Services : DATE
 

DATE

The following table describes the supported castings in each ABL parameter mode (INPUT and OUTPUT) between the ABL DATE type and XML Schema.
Table 63. ABL data type cast—DATE
For this XML Schema type . . .
In this ABL parameter mode . . .
OpenEdge . . .
string normalizedString
INPUT
Serializes the ABL 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 ABL parameter as if the ABL DATE( ) function was called on the string in an OpenEdge session started with the –d ymd startup parameter.
dateTime
INPUT
Serializes the ABL parameter according to the XML Schema serialization rules, with the time assumed to be 12:00 midnight local time.
OUTPUT
De-serializes the XML Schema value into the ABL parameter according to the XML Schema serialization rules with the value set to the local time adjusted from any time and time zone information (which is stripped away). If there is no time and time zone information the value is stored as is. If you need to maintain the time information, use the ABL DATETIME data type. If you need to maintain the time zone information, use the ABL DATETIME-TZ data type.
date
INPUT
Serializes the ABL parameter into the SOAP request message according to the XML Schema serialization rules with no time zone.
OUTPUT
De-serializes the XML Schema value into the ABL parameter with the date adjusted for any time zone information and the time zone information stripped away. If you need to maintain the time zone information, use the ABL DATETIME-TZ data type.