Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After January 1st
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00308678
Message ID:
00312198
Views:
38
>Jimmy...
>
>What is the rule???
>The year has to be divisible by 10 and 400...right...to be a leap year..
>
>lLeapYear = Mod(nyear,0) = 0 And Mod(nyear,400) = 0
>
>Every 400 years, we have to count an extra day.... Go figure...

John,

The rule I know was this;

The year must be divisible by 4, except for even centuries which must be divisible by 400.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform