$time1 = mktime(10,20,30,2,5,2000); //2000-2-5 10:20:30$time2 = mktime(18,30,20,5,2, 2000); //2000-5-2 18:30:20$diff = (int)(($time2-$time1)/(24*3600));echo "$time2 と $time2 の時差$time1 の場合: " . $diff . "天";?>