Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any function for check if its a leap year ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00756383
Message ID:
00756388
Vues:
15
>>hello all
>>
>>is there any function for check if current year its a leap year ?
>>
>>txs
>
>If I remember correctly. If the year is divisible by 4 and it is not divisible by 100. By not divisible by 100 I mean the year 2000,2100,2200,.. are not leap years.
>
>Einar

I'll correct myself after reading George's reply. It sould be not divisible by 400 instead of 100

I just thought of another way. Check if Feb.29 exist for the year you are testing.

Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform