Session Time Zone
The session time zone is the time zone for a particular session. The command to change the session time zone is:
ALTER SESSION SET TIME_ZONE = 'PST'
Set the session TIME_ZONE
to LOCAL
ALTER SESSION SET TIME_ZONE = 'LOCAL'
Set the session TIME_ZONE
to DBTIMEZONE
:
ALTER SESSION SET TIME_ZONE = DBTIMEZONE
To get the session time zone use the SESSIONTIMEZONE
function.
SELECT SESSIONTIMEZONE
FROM dual;
Home »
Oracle »
Time Zone Functions »
Oracle »
Time Zone Functions »
Introduction:
- What is Time Zone
- Database Time Zone
- Session Time Zone
- Time Zone Names
Related: