Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the number of days in a month
Message
From
08/10/1997 19:40:32
 
 
To
08/10/1997 10:57:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00052998
Message ID:
00053795
Views:
27
>>How can I get the number of days in a month.
>
>
>Lpara date_ld
>return GoMonth(date_ld,1)-date_ld

It doesn't work. For example: January 31, any year. It gives you 28 (29 for leap years) instead of 31.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform