run code in 200+ php & hhvm versions
Bugs & Features
<?php $end_date = "2014-10-09 15:03:10"; date_default_timezone_set('Asia/Calcutta'); $now = "2014-10-09 15:01:10"; $diff = strtotime($now) - strtotime($end_date); $fullDays = floor($diff/(60*60*24)); $fullHours = floor(($diff-($fullDays*60*60*24))/(60*60)); $fullMinutes = floor(($diff-($fullDays*60*60*24)-($fullHours*60*60))/60); echo "Difference is $fullDays days, $fullHours hours and $fullMinutes minutes.";
based on cWrrM

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page