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: Dates

Re: Dates

From: Imran Ashraf <imran9a_at_yahoo.com>
Date: Fri, 18 Oct 2002 03:53:27 -0800
Message-ID: <F001.004ED215.20021018035327@fatcity.com>


Im running this query:
  select round(add_months(sysdate,500),'YYYY')   from dual;
This retuns:
01-JAN-2044. I want it to return:

01-JAN-2040. Thanks


Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Imran Ashraf
  INET: imran9a_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Fri Oct 18 2002 - 06:53:27 CDT

Original text of this message

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