Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Month Calculations
Message
From
24/04/2001 07:56:58
 
 
To
24/04/2001 02:28:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00498208
Message ID:
00498931
Views:
16
>>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
Map
View

Click here to load this message in the networking platform