Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Getting the Current Timezone
I think that depends on how you set your dbtimezone? Mine returns:
SYS AS SYSDBA @ emrep> select to_char(next_run_date,'TZR TZD') from scheduler$_job;
TO_CHAR(NEXT_RUN_DATE,'TZRTZD')
SYS AS SYSDBA @ emrep> select sessiontimezone from dual;
SESSIONTIMEZONE
Joel Patterson
Database Administrator
joel.patterson_at_crowley.com
x72546
904 727-2546
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Allen, Brandon
Sent: Friday, February 16, 2007 12:21 PM
To: oracle-l-freelists
Subject: Re: Getting the Current Timezone
Also, you might want one of these:
SQL> select sessiontimezone from dual;
SESSIONTIMEZONE
SQL> select to_char(next_run_date,'TZR TZD') from scheduler$_job;
TO_CHAR(NEXT_RUN_DATE,'TZRTZD')
Regards,
Brandon Allen
Re: Getting the Current Timezone
select dbtimezone from dual;
On Thu, 2007-02-15 at 12:48 -0700, UtahToad wrote:
> In all the research and testing I have done, I cannot find a function
that
> will return the timezone for what you need. You can get the time in a
> different timezone and some things like that, but I cannot find a way
to
> have the system give you the MDT or MST back to you. I find people
wanting
> this and the answer was that they would have to write something > themselves.. > > Any ideas? >
Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Feb 16 2007 - 12:46:15 CST
![]() |
![]() |