<?php echo date("Y-m-d H:i:s", strtotime('2014-09-31')); $test = new DateTime('2014-09-31 23:59:59'); echo date_format($test, 'Y-m-d H:i:s');
You have javascript disabled. You will not be able to edit any code.