>Hi larry
>if you still need an other option...
>
>dif = (year(date2)-year(date1))*12+(month(date2)-month(date1))
>
>Mario
Mario, Glenn and Michael
IMHO your functions are overseeing the fact that a date also has a day component. With your function it would be at least a month provided months are different. ie :
date1 = {^2000/01/31}
date2 = {^2000/02/01}
Cetin