Release 10.1A: OpenEdge Development:
Java Open Clients

> ## Date and time conversions

> The Progress 4GL `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 4GL data type, as shown in Table 4–2.

> Table 4–2: GeorgianCalendar object processing
> Progress data type | Process
> --- | ---
>     DATE
> | Input: Time and time zone information is ignored. Output: Client time zone is used. Time is set to 0 (midnight).
>     DATETIME
> | Input: Time zone information is ignored. Output: Client time zone is used.
>     DATETIME-TZ
> | Input and Output: Date, time, and time zone is preserved.

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