Subject | Re: date functions in FB |
---|---|
Author | mikcaau |
Post date | 2005-12-13T10:39:50Z |
--- In firebird-support@yahoogroups.com, "d_dude_2003"
<d_dude_2003@y...> wrote:
This will fail in CE 3000
Come back to me then (or just before) and I'll give a suitable workaround.
mick
<d_dude_2003@y...> wrote:
>Select (MyDate + (365.2525 * :NumOfYears)
> > So adding a day would be as simple as:
> >
> > Select MyDate + 1
> > From MyTable;
> > From there, you should be able to figure out the rest.
>
> Adding years is not obvious at all. Years can contain different number
> of days and there should be functions to handle that....Why the FB SQL
> is so poor? I remember doing this with MS SQL very easily..
>
This will fail in CE 3000
Come back to me then (or just before) and I'll give a suitable workaround.
mick