本WIKI是由用户
(231237033) |
WIKI现在仍处于初期建设阶段,全站编辑权限均开放,欢迎各位管理人收藏起来防止迷路,也希望有爱的小伙伴加入我们一同参与编辑,一起构建WIKI~(´▽`ʃ♡ƪ)
移动端收藏本站:BWIKI收藏到桌面的方法说明
有问必答板丨 反馈群:453516625
Now.js
阅读
2023-08-02更新
最新编辑:律_Rhyme
阅读:
更新日期:2023-08-02
最新编辑:律_Rhyme
function now(){ var date = new Date(); year = date.getFullYear(); month = date.getMonth() + 1; day = date.getDate(); hours = date.getHours(); minutes = date.getMinutes(); seconds = date.getSeconds(); document.getElementById("now").innerHTML = year + "年" + month + "月" + day + "日" + "\t" + hours + "时" + minutes + "分" + seconds + "秒"; } setInterval("now()",1000);