<?php $d1 = '2014-10-25 00:00:01'; $d2 = '2014-10-26 00:00:00'; $dt1 = new DateTime($d1); $dt2 = new DateTime($d2); var_dump ($dt1->add(new DateInterval('P1M1D')));
You have javascript disabled. You will not be able to edit any code.