add date filter.