handle all date filtering from content