<?php $date=date('Y-m',strtotime(date())); var_dump(date('Y-m'),strtotime("$date -1 month")); ?>
You have javascript disabled. You will not be able to edit any code.