Codice PHP:
echo $data date('d-m-Y',strtotime("2008-10-20 -10 days"));