<?php $a = new DateTime("2016-01-05"); $b = new DateTime("2016-01-06"); $c = new DateTime("2016-01-07"); var_dump($b->difF($a));
You have javascript disabled. You will not be able to edit any code.