Reference Guide > TDV Support for SQL Functions > TDV-Supported Date Functions > DBTIMEZONE
 
DBTIMEZONE
The DBTIMEZONE function returns the value of the database time zone (if the function is pushed) or the TDV time zone (if the function is not pushed).
If the function is pushed, the return type is a time-zone offset or a time-zone region name, depending on how the database time zone value was defined in the most recent CREATE DATABASE or ALTER DATABASE statement. If the function is not pushed, the return type is a time-zone offset.
Syntax
DBTIMEZONE
Example
The following example assumes that the database time zone is set to UTC time zone:
DBTIMEZONE ( )
 
This example returns a result that looks like this:
DBTIME
------
+00:00