Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Getting the Current Timezone

Re: Getting the Current Timezone

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Fri, 16 Feb 2007 10:20:45 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C45071FD546@NT15.oneneck.corp>


Also, you might want one of these:  

SQL> select sessiontimezone from dual;

SESSIONTIMEZONE



-08:00  

SQL> select to_char(next_run_date,'TZR TZD') from scheduler$_job;

TO_CHAR(NEXT_RUN_DATE,'TZRTZD')



PST8PDT PST
PST8PDT PDT
PST8PDT PDT
PST8PDT PDT
PST8PDT PDT
PST8PDT PDT
PST8PDT PDT
PST8PDT PDT 11 rows selected.

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
Received on Fri Feb 16 2007 - 11:20:45 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US