>>Hi all,
>>
>>Which function have to employ to know the number of one month days?
>>Example 01/01/2002 gives 31 days
>>Thank you in advance for the assistance brought....
>>
>>bernhart
>
>Hi,
>in FoxPro you can use
>
GOMOTH(myDate,1) - myDate
>in other languages you have similar commands to get date contained same day of next month
It would return incorrect result in some cases. For example
myDate = {^2002/01/31}
? GOMONTH(myDate,1) - myDate
--sb--