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:
00382012
Views:
35
Thanks Dude.

Doron

>>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform