>>Andrews, try this:
>>
>> ldLastDay = GOMONTH(date(), 1) - day(date())
>>
>>
>>It works for me every time.
>
>Try it for Jan. 31. It doesn't work correctly.
>
>Hilmar.
There we go again. Hey, since our answer was not the best earlier, does that lower our intelligence level? <g>
Steve Gibson