Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate Leap Year
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00317731
Message ID:
00317772
Vues:
12
The only "thing" with this solution is that you are depending on the DATE function to work properly...I am not saying that is doesn't work with every date, but I am not sure. With the other solutions, I am more sure that the necessary VFP functions work properly.

Joe

>>I need a function to calculate leap years. Any suggestions? Thanks,
>>
>Hi Raef,
>
>Another one...
*tdate is a date type
>llIsLeap = NOT EMPTY(DATE(YEAR(tdate), 2, 29))
>Hmm, this seems familiar.
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform