【Vegas原创】显示动态时间

阅读 65

2022-09-09

<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>

精彩评论(0)

0 0 举报