I strongly disagree with Blaine.
The View is exactly the right place to do it. And explicitly the only place to do it.
Only the view knows where the data is going. How you transform data is completely dependant on where the data is going - and the specifics of how you do that are different for HTML (htmlspecialchars()), a URL string (urlencode()), a Javascript string (addslashes() or preferably json_encode()) , an email (quoted_printable_encode())....
Let's say I have a date field...to me formatted in different ways
That's not even an issue of sanitization, it's an issue of presentation - which still lies in the domain of the view.