Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How does APEX determine the default session time zone?

Eric Olson 1Mar 14 2022

I suddenly have an odd Daylight Savings Time problem and this has me confused about how APEX sets the session time zone. Note that I'm not using the Automatic Time Zone feature of Apex, so I would expect everything to be in the database time zone.
I'm in the Central Time Zone and my database time zone is -06:00. (This is actually incorrect, because we're now on CDT or -05:00 instead of CST.)

> select dbtimezone from dual;
DBTIME
------
-06:00

But when I debug an APEX session, it's setting the session time zone to -05:00:

...Setting session time_zone to -05:00

So where is this -05:00 coming from? Yes, it's technically correct, but I can't find any instance- or application-level setting that tells Apex what time zone to use.
Database is 19c and APEX is 20.1.

Comments
Post Details
Added on Mar 14 2022
2 comments
474 views