Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Months elasped between dates
Message
From
25/07/2002 16:33:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00682340
Message ID:
00682764
Views:
14
>How do you write a function that will allow me to determine the number of months that has transpired between to dates
>
>Thnaks
>Nick Patel

Convert each date to a number with val(dtos(...)). Subtract, and divide by 100. Apply int() to the result.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform