考勤记录页面根据月份和日期获取星期JS
functionstartTime(){vartoday=newDate();varh=today.getHours();varm=today.getMinutes();vars=today.getSeconds();m=checkTime(m);s=checkTime(s);document.getElementById("frame-time").innerHTML=h+":"+m+":"+s+"";vart=setTimeout('startTime()',);}functioncheckTime(i){if(i){i=""+i;}returni;}