Subject | Re: [ib-support] days from January the 1st |
---|---|
Author | Duilio Foschi |
Post date | 2002-03-02T11:19:25Z |
Helen,
My problem is (mainly) to replace '2002-01-01' with some function that
returns the 1st January of the _current year_.
Or next year I will have to replace _my code_ with '2003-01-01'...
TYIA
Duilio
>It's not far out:I realize I didn't express myself clearly.
>gg = :d_mov - cast('2002-01-01' as date);
My problem is (mainly) to replace '2002-01-01' with some function that
returns the 1st January of the _current year_.
Or next year I will have to replace _my code_ with '2003-01-01'...
TYIA
Duilio