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

Home -> Community -> Mailing Lists -> Oracle-L -> oracle sysdate problem ??

oracle sysdate problem ??

From: Leslie Lu <leslie_y_lu_at_yahoo.com>
Date: Thu, 12 Sep 2002 15:53:18 -0800
Message-ID: <F001.004CF24C.20020912155318@fatcity.com>


Hi all,

I did a select sysdate from dual, and got 04:09:39 pm, but my machine system time is 4:47pm, which is right.

SQL> select to_char(sysdate,'mm/dd/yy hh:mm:ss am') from dual;

TO_CHAR(SYSDATE,'MM/



09/12/02 04:09:39 pm

How did Oracle get the time? What needs to be set in order to get the correct time?

Thank you in advance!

Leslie



Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Leslie Lu
  INET: leslie_y_lu_at_yahoo.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Sep 12 2002 - 18:53:18 CDT

Original text of this message

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