<?php$hoy=date("d/m/Y");$s=strtotime('-45 days',strtotime($hoy));$fechaResta=date("d/m/Y",$s);echo $fechaResta;?>