[求助]ASP 如何 现实这个 功能!!
<html>
<head>
<script language=javascript>
<!--
//document.write("");
function show_date_time(){
window.setTimeout("show_date_time()", 1);
BirthDay=new Date("11-25-2006");//这个日期是可以修改的
today=new Date();
timeold=(BirthDay.getTime()-today.getTime());
sectimeold=timeold/1000
secondsold=Math.floor(sectimeold);
msPerDay=24*60*60*1000
e_daysold=timeold/msPerDay
daysold=Math.floor(e_daysold);
e_hrsold=(e_daysold-daysold)*24;
hrsold=Math.floor(e_hrsold);
e_minsold=(e_hrsold-hrsold)*60;
minsold=Math.floor((e_hrsold-hrsold)*60);
e_seconds = (e_minsold-minsold)*60;
seconds=Math.floor((e_minsold-minsold)*60);
ms = e_seconds-seconds;
ms = new String(ms)
ms = ms.substr(2,3);
document.getElementById("span_a").innerHTML="<b><align=center><font color=00CC00>"+daysold+"天"+hrsold+"小时"+minsold+"分"+seconds+"秒"+ms+"毫秒</b><br></font>";
}
show_date_time();
//-->
</script>
</head>
<body onload="show_date_time();">
<span id="span_a" style='align=center no:1px solid black;background-color:#FFFFFF' ></span>
</body>
</html>
<head>
<script language=javascript>
<!--
//document.write("");
function show_date_time(){
window.setTimeout("show_date_time()", 1);
BirthDay=new Date("11-25-2006");//这个日期是可以修改的
today=new Date();
timeold=(BirthDay.getTime()-today.getTime());
sectimeold=timeold/1000
secondsold=Math.floor(sectimeold);
msPerDay=24*60*60*1000
e_daysold=timeold/msPerDay
daysold=Math.floor(e_daysold);
e_hrsold=(e_daysold-daysold)*24;
hrsold=Math.floor(e_hrsold);
e_minsold=(e_hrsold-hrsold)*60;
minsold=Math.floor((e_hrsold-hrsold)*60);
e_seconds = (e_minsold-minsold)*60;
seconds=Math.floor((e_minsold-minsold)*60);
ms = e_seconds-seconds;
ms = new String(ms)
ms = ms.substr(2,3);
document.getElementById("span_a").innerHTML="<b><align=center><font color=00CC00>"+daysold+"天"+hrsold+"小时"+minsold+"分"+seconds+"秒"+ms+"毫秒</b><br></font>";
}
show_date_time();
//-->
</script>
</head>
<body onload="show_date_time();">
<span id="span_a" style='align=center no:1px solid black;background-color:#FFFFFF' ></span>
</body>
</html>