Skip to content

DBTIMEZONE

SELECT DBTIMEZONE FROM DUAL;
+08:00

The DBTIMEZONE function in Oracle is used to get the database time zone offset. The above example SQL query when executed fetches the current timezone of the database. The result ‘+08:00’ indicates that the database is 8 hours ahead of Coordinated Universal Time (UTC).