How to find the last Monday 2 months ago or N months ago
2 answers
Dirty in my opinion, but it works
$no_months = -2; // Number of months from now
echo date('d/M/Y' , strtotime('Last monday of ' . date('M Y', strtotime($no_months . ' months'))));
Basically, this just dynamically creates a portion of your original string "June 2015", "May 2015" based on the negative / positive months given in var.
+2
source to share