Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of days per month
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00381955
Message ID:
00381965
Views:
15
>Hi All,
>
>Is there a function to calculate number of days per month per
>year. Need to figure if Feb is 29 or 28 days for instance.
>
>Thanks
>
>Doron

ldDate = DATE() &&Substitute the date you want
ldLastDayOfMonth = DAY(GOMONTH(DATE(YEAR(ldDate), MONTH(ldDate), 1), 1) - 1)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform