Subject | Re: Number of months between dates |
---|---|
Author | lackonagy |
Post date | 2004-05-12T12:34:23Z |
--- In firebird-support@yahoogroups.com, "Raigo" <raigo77@s...> wrote:
extract(day from somedate)
and
extract(year from somdate)
>you can also use
> >extract(month from date2) - extract(month from date1)
> >
> >correct me if I'm wrong.
> >
>
> But the year in many cases is different, then this is not true.
extract(day from somedate)
and
extract(year from somdate)