>>>Is there a function that returns the number of days in a month?
>>>example...
>>>jan has 31 days
>>>days_in_a_month = (some_function,jan)
>>>?days_in_a_month
>>>31....any ideas?
>>
>>cMonth = "01"
>>cYear = "2000"
>>? day(gomonth(ctod(cmonth+"/01/"+cYear),1)-1)
>
>This is actually a Fox 2.6 solution which will work in VFP.
>Obviously, this assumes American dates.
You can get into trouble assuming a certain date format.
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