Sessiontimezone Query is Different Between SQL*Plus and SQL*Developer

(Doc ID 1056122.1)

Last updated on FEBRUARY 16, 2018

Applies to:

SQL*Plus - Version and later
Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.
Currency check on June 2016.


In SQL*Plus, the timezone is always changed to GMT, although the machine is located in EST timezone. It could be verified with the following query:

$sqlplus user/pswd@dbalias
SQL>select sessiontimezone from dual;

Executing this query from SQL*Developer, installed in the same machine in EST timezone, sends the right date and time from the EST timezone.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms