Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Days in month
Message
De
05/11/2007 16:41:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01266644
Message ID:
01266833
Vues:
13
>The code depends on SET DATE AMERICAN to be in effect. It'll produce incorrect resut or blow up with other settings. It's better to use DATE() function. Also YEAR() function requires an argument.

Yes -- you are correct. Guess it was on 1-1/2 cents worth... :)

Also, I think it would be better to use your version rather than Borislav's version. Having the year as a parameter input would be better to account for a leap year. Otherwise, it is always assuming the current year rather than any possible year.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform