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