Już?

countdown(2009,8,8,15,0); function countdown($year, $month, $day, $hour, $minute) { $the_countdown_date = mktime($hour, $minute, 0, $month, $day, $year, -1); $today = time(); $difference = $the_countdown_date – $today; if ($difference < 0) $difference = 0; $days_left = floor($difference/60/60/24); $hours_left = floor(($difference – $days_left*60*60*24)/60/60); $minutes_left = floor(($difference – $days_left*60*60*24 – $hours_left*60*60)/60); echo $days_left .”+”. $hours_left.”+”.$minutes_left; }