Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Leap years
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00115008
Message ID:
00115016
Vues:
23
>>>Hello All,
>>>A simple question but one I have gone completelty blank on.
>>>
>>>How do I define a leap year?? I know that year % 4 returning a 0 is not enough. What's the rest??
>>>
>>>Thanks
>>And not evenly divisible by 100. The year 2000, is the exception.
>
>1600, 2400, 2800 too :).

Thanks, Ed. I'd forgotten the rest. The exceptions are that the year is evenly divisible by 400. 1600 was so long ago, I couldn't remember whether or not it was :-).
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform