0
点赞
收藏
分享

微信扫一扫

【Vegas原创】显示动态时间

捌柒陆壹 2022-09-09 阅读 65

<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 条评论