<body MS_POSITIONING="GridLayout" bgcolor="#E0FFC1" OnLoad="ShowTime()">
<form id="Form1" method="post" runat="server">
<font id="TimeText" size="1" color="#006600" face="arial"></font>
</form>
<script language="vbscript">
Sub ShowTime()
TimeText.innerHTML= DateValue(now) & " " & Hour(now) & ":" & Right("0" & Minute(now),2) & ":" & Right("0" & Second(now),2)
SetTimeout "ShowTime()",1000
end sub
</script>
</body>
<form id="Form1" method="post" runat="server">
<font id="TimeText" size="1" color="#006600" face="arial"></font>
</form>
<script language="vbscript">
Sub ShowTime()
TimeText.innerHTML= DateValue(now) & " " & Hour(now) & ":" & Right("0" & Minute(now),2) & ":" & Right("0" & Second(now),2)
SetTimeout "ShowTime()",1000
end sub
</script>
</body>
相关文章
暂无评论...