刚刚在做后台页面最上面要动态显示时间刚写了这个代码 将这段代码加入<head></head> <!--时间显示代码 --><script>function clockon(contentDate){ var now = new Date(); var year = now.getYear(); var month = now.getMonth(); var date = now.getDate(); var day = now.…
不多说,直入主题: JS. // JavaScript Document function showtime() { var today,hour,second,minute,year,month,date; var strDate ; today=new Date(); var monthname=new Array("January","February","March","April","May",&…