求北京奥运会倒计时asp源代码
谁可以帮帮写个关于北京奥运会倒计时的asp源代码.......
[CODE]<html>
<head>
<title>奥运会倒计时</title>
<script language="vbscript">
Dim NowHour
Dim NowDay
Dim NowSecond
Dim NowMinutes
Function Page_Load()
Window.setTimeout "Page_Load()",10
NowDay=DateDiff("d",Now,"2008-8-8 00:00:00")
NowHour=DateDiff("h",Now,"2008-8-8 00:00:00")
NowMinutes=DateDiff("n",Now,"2008-8-8 00:00:00")
NowSecond=DateDiff("s",Now,"2008-8-8 00:00:00")
document.all("ShowInfo").innerHTML="距离奥运会开幕还有"&NowDay&"天"&NowHour&"小时"&NowMinutes&"分钟"&NowSecond&"秒"
End Function
</script>
</head>
<body onload="Page_Load()">
<div id="ShowInfo"></div>
</body>
</html>[/CODE]
以前写的,希望对楼主有启发。