<!--倒數聖誕 --> <?php //取得聖誕節時間:24-12-2004 24:00:00 $Christmas_time = mktime(24,0,0,12,24,2004); $now_time = time(NULL); //取得相差時間,用來求出天,小時,秒 $left_time = ($Christmas_time - $now_time); $left_day = intval($left_time/86400); //還剩多少天 $left_amount = ($left_time%86400); //取出餘數 $left_hour = intval($left_amo...