Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Last day of a month
Message
 
À
04/11/1999 16:15:58
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00287143
Message ID:
00287153
Vues:
17
>Hello everyone.
>
>Is there a native VFP function to return the last day of the month?
>
>Thanks,
>Sergio

Not that I know of, but you can use the DATE() function. For example, if you wanted to know the last day of the current month, you could do something like this:

DATE(YEAR(DATE()), MONTH(GOMONTH(DATE(), 1)), 1) - 1

hth

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform