<?php $date1 = new \DateTime('2016-03-01'); $date2 = new \DateTime('2016-03-31'); $diff = date_diff($date1, $date2, true); var_dump($diff); // see ["f"]=>float(0)
You have javascript disabled. You will not be able to edit any code.