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

Home -> Community -> Usenet -> c.d.o.server -> Re: Adding 1900 years to a date

Re: Adding 1900 years to a date

From: Jeremy <newspostings_at_hazelweb.co.uk>
Date: Mon, 30 Aug 2004 21:20:21 +0100
Message-ID: <MPG.1b9d9c5bb0879963989cd1@news.individual.net>


In article <slrncj71pb.c0.rene.nyffenegger_at_zhnt60m34.netarchitects.com>, Rene Nyffenegger says...

>
> RENE_at_ora10>
> RENE_at_ora10> select add_months(to_date('21-sep-0076'),1900*12) from dual;
>
> ADD_MONTHS(
> -----------
> 21-sep-1976
>
>

Thanks - my mind couldn't get beyond add_years (and then finding that such a function didn't exist!)

-- 

jeremy
Received on Mon Aug 30 2004 - 15:20:21 CDT

Original text of this message

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