Oppure anche
Codice PHP:
$date '2010-05-16';
echo 
date('Y-m-d'strtotime($date.' -1 day')); 
puoi usare anche altri intervalli come "week" o "month".