The Oracle DBTIMEZONE function returns the database timezone offset of the database. It returns it in the format of +/- TZH:TZM, or the time zone region name.
It’s useful to know what timezone the database is in when working with dates and different time zones, as it can impact the queries you write.
The syntax for this function is quite simple:
There are no parameters - just the function name.
You can’t actually change the timezone of the database using this function. It uses the timezone of the operating system of the server the database runs on.
It’s similar to the SESSIONTIMEZONE function, but that function returns the timezone of your session and not the database server.
It’s also similar to the SYSTIMESTAMP function, but that function returns the date, time, and timezone of the database, where DBTIMEZONE just returns the timezone.
For more information about the Oracle DBTIMEZONE function, including all of the SQL shown in this video and the examples, read the related article here:
Looking for someone like-minded? Chances are you’ve already got one thing in common.
15,000 New members.
Soulmates sees over 15,000 new faces every month.
#1 Customer service.
Feel safe and secure, with help from our award-winning customer service team.
Recently joined Soulmates.
Meet some of our latest members.
Online Dating Success Stories.
Intrepid explorers who’ve found the person of their dreams.
Kristian & Zoe.
"We met through Soulmates four years ago. Although were both based in London, the chances of us meeting by other means were slim. We just got married! Zoe is the most wonderful woman Ive ever met, and I know we are going to have an extremely happy life together."
Laura & Phil.
"Phil and I got married just over a year after we met on my first ever internet date through Guardian Soulmates. Weve been recommending the site to friends ever since. Thank you!" (Photography credit to Michael OSullivan)
Robin & Alec.
"I just wanted to let you know that you have another success story! My boyfriend, who I met via your site about two years ago, just proposed and we are getting married next year. THANK YOU!"
Alex & Rosie.
"Rosie and I met through Soulmates and were married in October, just 17 months later. Were wonderfully happy together!"
How does it work?
Find your Soulmate in three easy steps.
Register your free account today.