<?php $format = 'Y-m-d'; $reqDate = date ( $format, strtotime ( '2014-03-30' ) )."\n"; echo $reqDate; // - 1 month echo date($format, "$reqDate -1 month");
You have javascript disabled. You will not be able to edit any code.