<?php $oNewDate = new DateTime('2014-11-06'); $oDateinit = new DateTime('2014-11-04'); var_dump(intval($oDateinit->diff($oNewDate)->format('%r%a')));
You have javascript disabled. You will not be able to edit any code.