Implemented date parsing and filtering