Page 1 of 1

Posted: Tue Aug 13, 2002 5:06 pm
by jseclen
Hi Santosh,

I send you the rotuine to calculate the months from two dates,

Ans = Int((IConv(Arg2,'D/E') - IConv(Arg1,'D/E')) / 30)

Where Arg1 is the mininum date
Arg2 is today (can be any date, but greater than Arg1

Hope this help

MS.

Miguel Seclen
Lima - Peru

Posted: Tue Aug 13, 2002 5:11 pm
by jseclen
respect the last item, the date format that you must be use is dd/mm/yyyy to use the routine.

MS.

Miguel Seclen
Lima - Peru