Date parsing and filter