Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
After January 1st
Message
De
04/01/2000 03:42:21
 
 
À
04/01/2000 03:21:22
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00308678
Message ID:
00312205
Vues:
41
>Jim,
>
>>The rule I know was this;
>>
>>The year must be divisible by 4, except for even centuries which must be divisible by 400.
>
>That would be:
>The year is divisable by 4 except for the century years which are not divisable by 4.
>
>(20 mod 4 = 0) --> leap year
>(19 mod 4 = 3) --> not a leap year
>
>Walter,

You must include the 100 & 400 checks. 2100, 2200, 2300 will NOT be leap years, but 2400 will be.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform