>Is there a function to get the number of days in a month.
>eg. the number of days in any month of any year.
>
>Thanks
>Andrew
* Let FoxPro do the work!
* Subtract a Day from the Next Months First Day!
* Leap Year taken care of!
dWHEN= DATE()
? DAY(CTOD(str(Month(dWHEN)+1)+"/01/"+Alltrim(SUBSTR(STR(Year(dWHEN)),7,4)))-1)
Ed B
Edgar L. Bolton, B.S. B.B.A.