js代码|简单便利的显示当天日期(js显示日期时间)
时间:2021-12-22 17:12:45 阅读:1410
<script> /* 日期 */ function tick() { var hours, minutes, seconds, xfile; var intHours, intMinutes, intSeconds; var today, theday; today = new Date(); theday = [today.getMonth()+1]+"月" +today.getDate() +"号客户反馈鉴赏"; intHours = today.getHours(); intMinutes = today.getMinutes(); intSeconds = today.getSeconds(); timeString = theday; Clock.innerHTML = timeString; window.setTimeout("tick();", 100); } window.onload = tick; </script> <b id="Clock">12月33号客户反馈鉴赏</b>
网友评论