Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of months between 2 dates
Message
From
11/07/1997 20:09:07
 
 
To
11/07/1997 20:01:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00039633
Message ID:
00039638
Views:
31
lnMonths=(year(ldLast)-year(ldFirst))*12+month(ldLast)-month(ldFirst)-1

This doesn't count the days from the 1st and last months.

Vlad

>Any simple way to detect the number of months between 2 dates?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform