Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Bug in ADD_MONTHS ???

235389Nov 28 2006 — edited Feb 18 2008
Hi

Have tried this on 10g Rel1 and Rel 2

select add_months(to_date('28/02/2007','dd/mm/yyyy'),12) from dual

ADD_MONTHS(TO_DATE('28/02/2007','DD/MM/YYYY'),12)
-------------------------
29-FEB-08

Should it not be 28-FEB-08. Is this due to 2008 being a leap year.

Anyone got a work around.

regards
Andrew
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2008
Added on Nov 28 2006
16 comments
9,941 views