Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: oracle dates calculations
"Eric Parker" <eric.parker.spamless_at_virgin.net> wrote in message
news:Pk%Ka.2249$MO2.1910_at_newsfep4-winn.server.ntli.net...
>
> What I was wondering about was the standard (if there is one) way of
dealing
> with somebody whose birthday was 29th Feb. Does their birthday become
> 28th Feb or 1st Mar on non-leap years ?
> I know from an Oracle point of view what I'd prefer.
>
> eric
>
>
>
Appears to be the 28th from the server's point of view, as documented in the manual when converting between months with unequal numbers of days; don't know if that reflects real life as I don't know anyone born on the 29th Feb:
SQL> select add_months(to_date('29-FEB-2000'),12) from dual;
ADD_MONTHS(