Date and time conversions
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Date and time conversions
The ABL DATE, DATETIME,
and DATETIME-TZ data types are all mapped to the java.util.GregorianCalendar class.
This class supports all the necessary functionality for these data
types (it supports date, time, and time zone data). The Java Open
Client processes the data differently based on the ABL data type,
as shown in the following table.
| Progress data type | Process |
|---|---|
|
Input: Time and time zone information is ignored Output: Client time zone is used. Time is set to 0 (midnight) |
|
Input: Time zone information is ignored Output: Client time zone is used |
|
Input and Output: Date, time, and time zone is preserved |