It's simple to get last month date
Display
echo date("Y-m-d", strtotime("first day of previous month"));
echo date("Y-m-d", strtotime("last day of previous month"));
Display
2014-10-01
2014-10-30
0 Comments