add DAO for filterByDate function