Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function for days in the month
Message
From
05/01/1999 18:54:27
 
 
To
05/01/1999 18:42:23
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00172969
Message ID:
00172971
Views:
26
Shane,

You could use something like this:

Function NumberOfDays
lparameters xdate
return gomonth(xdate,1)-xdate

where xdate is any date in the month you want to calculate the number of days
of.

This is just an on the fly answer that as not really been tested but I think
should work in most conditions.

:)

Pascal
Previous
Reply
Map
View

Click here to load this message in the networking platform