1 2 3 4 5
<?php $f = 1; echo 'fails:' . date("m/Y", strtotime("04/2014 - $f Month")) . "\n"; echo 'works:' . date("m/Y", strtotime("april 2014 - $f Month"));
1 2
fails:01/1970 works:03/2014