>>Hi All,
>>
>>Is there a function to calculate number of days per month per
>>year. Need to figure if Feb is 29 or 28 days for instance.
>>
>>Thanks
>>
>
>
>Doron,
>
>ldDate = Date()
>
>lnDays = DAY(GOMONTH(ldDate,1) - DAY(GOMONTH(ldDate,1)))
>
>Craig's has 5 function calls, Mine has only 4.
How about:
GOMONTH(dDate,1) - dDate
The difference is the length of dDate's Month