SESSION handle attributes for DATETIME and DATETIME-TZ data types
- Last Updated: January 12, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
All of the following SESSION handle
attributes apply to the DATETIME and DATETIME-TZ data
types.
- SESSION:DATE-FORMAT (
-d) — Used to set the display format of the date part ofDATETIMEandDATETIME-TZ; for example, month/day/year (mdy) or year/month/day (ymd). - SESSION:YEAR-OFFSET (
-yy) — The start date for the two-digit year range of 100 years; used to display theDATETIMEandDATETIME-TZwhen the format specifies a two-digit year. - SESSION:TIME-SOURCE — The ABL client/application
server or database server machine that serves as the time source for the
TIME,TODAY,NOW,TIMEZONE, andMTIMEfunctions. This source is also used to generate values forDATE,DATETIMEandDATETIME-TZdatabase and temp-table fields with initial values ofTODAYorNOW. TheTIME-SOURCEattribute overrides theSESSION:TIMEZONEattribute. - SESSION:TIMEZONE — An
INTEGERvalue that specifies the time zone offset from UTC, in minutes, that ABL uses in theTODAY,TIME,NOW,MTIMEandTIMEZONEfunctions. This source is also used to generate values forDATE,DATETIMEandDATETIME-TZdatabase and temp-table fields with initial values ofTODAYorNOW. TheSESSION:TIME-SOURCEattribute overrides theTIMEZONEattribute. - SESSION:DISPLAY-TIMEZONE — The time zone for
displaying
DATETIME-TZdata without a time zone offset.