Ok below is what I came up with. It is a quick function you can simplify and extend to your liking.
And here is the FIDDLE
<?php
$diff= (time() + 172600) - time(); // replace (time() - 172600) with your time in the future.
function timedifftostr($timediff) {
$days = floor($timediff / (60*60*24));
$days_raw = $days * (60*60*24);
$hours = floor(($timediff-$days_raw) / (60*60));
$hours_raw = $hours * (60*60);
$minutes = floor(($timediff-($hours_raw + $days_raw)) / (60));
$minutes_raw = $minutes * (60);
$seconds = floor($timediff-($hours_raw + $days_raw + $minutes_raw));
$seconds_raw = $seconds;
echo $days." Day/s ".str_pad($hours,2,0).":".str_pad($minutes,2,0).":".str_pad($seconds,2,0);
}
timedifftostr($diff);
?>
You could extend this further adding a check for multiple days and adding the s or not to day. The answer was provided long like to to show the working out of this for you in the future. Below I provide a quick breakdown the the maths.
time() is in seconds.
So time()/60 is time in minutes.
So time()/60/60 is time in hours.
So time()/60/60/24 is time in days.