Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling Dates Beginning of Month and End of Month
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01512731
Message ID:
01512732
Vues:
118
This message has been marked as the solution to the initial question of the thread.
? "Beginnig of the month", ldDate - DAY(ldDate) + 1
? "End of the month", GOMONTH(ldDate - DAY(ldDate) + 1,1) - 1
>We know that February's numbers of days varies from 28 to 29 depending on if the year is a leap year.If you want to get the ending date of a month and don't want to deal with determining the leap year, how would you do this?
>
>Cecil
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform