Search filter dates

Search filter box has some date options, which filter the search appropriately.

Am using hard-coded date options, this could be discussed.