Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxDOS leap year
Message
 
To
12/03/1999 10:21:23
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00196797
Message ID:
00196806
Views:
43
>I have an old FoxDos program that has to validate a person's age, i.e. someone is 18 years old or older. The original calculation does not seem to work for Y2K because of leap years. My question does Fox in all versions automatically account for leap years when calculating the number of days between two dates.

Raymond,

Yes it does. And it handles Feb 29, 2000 correctly as long as you use 4 digit years.
Previous
Reply
Map
View

Click here to load this message in the networking platform