Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of months between two dates
Message
 
To
06/11/2002 14:06:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00719472
Message ID:
00719482
Views:
19
Michel,

Try something like this, I have not tested this very much, but it appears it may work.

lnmonths = MONTH(enddate) + ((YEAR(enddate) - YEAR(stdate)) * 12) - MONTH(stdate)

- Joel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform