enable to search by date