ldDate = Date() >ldEOM = gomonth(ldDate-day(ldDate)+1,1) - 1
lnYear = 2000 lnMonth = 2 ldEOM = Gomonth(Date(lnYear, lnMonth, 1),1) - 1