Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling Dates Beginning of Month and End of Month
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01512731
Message ID:
01512732
Views:
117
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform