Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First day of the month
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01411761
Message ID:
01411778
Vues:
51
>thanks for your function
>
>I managed my function to work by adding alltrim to month and year fuction
>Also, I find out that using cmonth didt not return da char month number the the month number instead
>
>mAhead = ctod( "01" + "/" + ALLTRIM(STR(MONTH(DATE()))) + "/" + ALLTRIM(STR(YEAR(DATE()))))
>
>
>
>Moises

Your solution is SET date dependent and much harder to maintain. I would just go with the simple and universal solution I provided.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform