This question already has an answer here:
If Current date is to day (02-06-2015), then how do we get the date back from 12 months . so that i get one year info
</div>
To get date of last year
$date = date("Y-m-d",strtotime(date('Y-m-d') . "-1 Year"));