Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the number of days in a month
Message
From
09/10/1997 01:37:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00052998
Message ID:
00053817
Views:
30
>>>>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
>
>
>How about this one ?
>
>? DAY(GoMonth(date_ld,1)-DAY(GoMonth(date_ld,1)))
>
>
>Darrel

This is what I said this morning and is almost the same Alessio Iancarelli said a few days ago. :)

Now I see there are 2 threads on the same subject created by the same user. :(

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform