Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function to get the last day of month
Message
De
11/07/1997 19:35:41
 
 
À
11/07/1997 19:31:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039619
Message ID:
00039622
Vues:
33
>The easiest way I know:
>
>lcDate=GoMonth(ldMyDate-day(ldMyDate),1)
>
>This doesn't depend on SET CENTURY or SET DATE, it works for leap years, etc.

Thanks a lot. It does the job perfectly.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform