<?php var_dump(date("cc",strtotime("first day previous month"))); var_dump(date('Y-m-d', strtotime(date('Y-m-01').' -1 MONTH')));
You have javascript disabled. You will not be able to edit any code.