echo "<b>距离春节还有:</b> <font color=#ff0000>";
$春节 = strtotime("2004-1-22");
$今天 = strtotime(date("Y-m-d"));
echo ($春节-$今天)/(60*60*24);
echo "</font> <b>日</b>";
$春节 = strtotime("2004-1-22");
$今天 = strtotime(date("Y-m-d"));
echo ($春节-$今天)/(60*60*24);
echo "</font> <b>日</b>";
date("d")
若跨月就有点问题了