Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the number of days in a month
Message
From
03/10/1997 04:36:53
 
 
To
03/10/1997 04:28:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00052998
Message ID:
00053003
Views:
30
>How can I get the number of days in a month.
>
>Thanks
>Andrew

I do this way :

gomonth(xdate ,1) - day(gomonth(xdate ,1))

&& xdate is a Date value
this gives me the last day of the month
Previous
Reply
Map
View

Click here to load this message in the networking platform