-6

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

VIKASH DASH
  • 543
  • 1
  • 5
  • 12

1 Answers1

1

To get date of last year

$date = date("Y-m-d",strtotime(date('Y-m-d') . "-1 Year"));