Try OpenEdge Now
skip to main content
ABL Data Types Addenda
DATETIME and DATETIME-TZ data types : Display formats : Displaying DATETIME data based on display format
 

Displaying DATETIME data based on display format

If the format for a DATETIME specifies a time zone, the AVM displays the time zone of the session. For example, consider the following datetime formats:
"99/99/99 HH:MM:SS.SSS" "99-99-9999 HH:MM AM" "99-99-9999 HH:MM:SS+HH:MM"
March 5, 2002 at 7:15:03.002 am on a client with a time-source time zone of UTC-05:00 would display as (assuming -d mdy):
03/05/02 07:15:03.002 03-05-2002 7:15 AM 03-05-2002 07:15:03-05:00