Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: oracle sysdate problem ??
Your format is asking for the month instead of the minutes
>
> 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')
^^should be mi
> from dual;
>
Pat
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Pat Hildebrand INET: pat_at_ssc.upenn.edu 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 - 19:13:20 CDT
![]() |
![]() |