Please note, this is a STATIC archive of website www.w3resource.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
w3resource

Oracle SESSIONTIMEZONE function

How to get the time zone of the current session in Oracle?

The SESSIONTIMEZONE function is used to get the time zone of the current session.

Syntax:

SESSIONTIMEZONE

Parameters :

No parameters.

Return Type:

The return type is a time zone offset or a time zone region name, depending on how the user specified the session time zone value in the most recent ALTER SESSION statement.

Applies to:
Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i

Pictorial Presentation

Pictorial Presentation of Oracle SESSIONTIMEZONE function

Example: Oracle SESSIONTIMEZONE function

The following example returns the time zone of the current session:

SELECT SESSIONTIMEZONE FROM DUAL;

Sample Output:

SESSION
-------
+05:30

Previous: ROUND(date)
Next: SYS_EXTRACT_UTC