General information
Category:
Coding, syntax & commands
>>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
Be careful, because this depends on the SET DATE setting.
Vlad
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only