Glenn,
It will not work. For instance, try tdate={^2003-01-31}
>You can try:
>
>Function DaysInMonth
>lpar tDate
>return day(gomonth(tDate,1)-day(tDate))
>
>
>Glenn
>>Is there a function available to calulate the # of days in a given month from a date() function?
>>
>>Jeff