>m.startdate = RIGHT(DTOS(UsersStartDate), 4) >m.enddate = RIGHT(DTOS(UsersEndDate), 4) > >WHERE BETWEEN(RIGHT(DTOS(DOB), 4), startdate, enddate) >