<?php echo date('z',strtotime("2014-12-31")); $s = new DateTime(strtotime("2014-01-01")); $e = new DateTime(strtotime("2014-12-31")); echo $e->diff($s)->days;
You have javascript disabled. You will not be able to edit any code.