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