Subject Re: [ib-support] days from January the 1st
Author Duilio Foschi
Helen,

>It's not far out:
>gg = :d_mov - cast('2002-01-01' as date);

I realize I didn't express myself clearly.

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