Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Leap years
Message
De
08/07/1998 19:39:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00115008
Message ID:
00115522
Vues:
17
>David,
>
>This is SET DATE independent:
>
>function IsLeap( pnYear )
>return ctod( "^" + str( pnYear, 4 ) + "/2/29" ) != {}
>

Well done. That surely is the most elegant correct answer.
Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform