Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate number of months
Message
 
To
27/08/2002 14:33:39
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00694170
Message ID:
00694182
Views:
16
This message has been marked as the solution to the initial question of the thread.
Something like:
?(year(y)+month(y)/12-year(x)-month(x)/12)*12

>Using VFP7.
>
>How can I calculate the number of months between 2 dates?
>
>x = {^2001/08/01}
>y = {^2002/08/31}
>
>Want to return 12 months. How can I do this?
>
>Thanks,
>
>Jerryt
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform