>>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
Hi Celtin,
You are absolutely correct, but the original problem description inferred that days were not a consideration. Perhaps Larry can clear this up.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only