Implemented date-based search