0 Membros e 1 Visitante estão a ver este tópico.
$time_diff = strtotime("2013-09-09 09:30:00") - time(); $tage = ($time_diff - $time_diff%86400)/86400; $rest_zeit = $time_diff - $tage*86400; $stunden = ($rest_zeit - $rest_zeit%3600)/3600; $rest_zeit = $time_diff - $tage*86400 - $stunden*3600; $minuten = ($rest_zeit - $rest_zeit%60)/60; $rest_zeit = $time_diff - $tage*86400 - $stunden*3600 - $minuten*60; $sekunden = $rest_zeit; echo "<b>Tempo Restante:</b><br>"; echo $tage." dia, "; echo $stunden." hora, "; echo $minuten." minuto, "; echo $sekunden." segundo";