Database Time Zone
The database time zone is controlled using the TIME_ZONE
database parameter.
The command to change the database time zone is:
ALTER DATABASE SET TIME_ZONE = offset | region
ALTER DATABASE SET TIME_ZONE = '-8:00'
ALTER DATABASE SET TIME_ZONE = 'PST'
To get the database time zone using the DBTIMEZONE
function.
SELECT DBTIMEZONE
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: