<script>setInterval("LabDayTime.innerHTML=(new   Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay())).substr(0,24);",1000);</script><asp:Label ID="LabDayTime" runat="server"></asp:Label>

 

 

 

<td height="31"><script language="javascript">
function showTime(){
var oDiv = document.all('oDiv');
var oDate = new Date();
var strTime = oDate.getFullYear() + '年' + eval(oDate.getMonth()+1) + '月' + oDate.getDate() + '日  星期' + '日一二三四五六'.substr(oDate.getDay(),1) + '  ' + oDate.getHours() + ':' + oDate.getMinutes() + ':' + oDate.getSeconds();
oDiv.innerHTML = strTime;
window.setTimeout('showTime()', 1000);
}
window.onload = showTime;
</script>
<div ></div></td>

相关文章:

  • 2021-11-20
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-03-04
  • 2021-12-24
  • 2021-12-06
猜你喜欢
  • 2021-12-22
  • 2021-12-22
  • 2021-09-27
  • 2022-02-09
  • 2021-11-27
相关资源
相似解决方案