Try OpenEdge Now
skip to main content
OpenEdge 11.6.1 New Information : OpenEdge ABL
 

OpenEdge ABL

Release 11.6.1 of OpenEdge ABL includes a new startup parameter, Use SESSION:TIMEZONE (-useSessionTZ). Use SESSION:TIMEZONE (-useSessionTZ) specifies whether or not the SESSION:TIMEZONE attribute is applied to results of direct assignments between DATE, DATETIME, and DATETIME-TZ data types.
Operating system and syntax
UNIX / Windows
-useSessionTZ n
Use with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session
0
n
0 indicates SESSION:TIMEZONE is not used with assignments, and 1 indicates SESSION:TIMEZONE is used. The default value is 0.
For releases 11.6.0 and earlier, the SESSION:TIMEZONE attribute only affected the MTIME, NOW, TIME, TIMEZONE, and TODAY functions. When the -useSessionTZ 1 parameter is specified, the AVM uses the value of SESSION:TIMEZONE, when set, to calculate the results of:
*functions DATETIME-TZ, MTIME, NOW, TIME, TIMEZONE, and TODAY
*direct assignment operations between DATE, DATETIME, and DATETIME-TZ data types.
Note: For more information on direct assignment operations between DATE, DATETIME, and DATETIME-TZ data types, see the ASSIGN statement (notes section) in OpenEdge Development: ABL Reference.