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