考勤记录页面根据月份和日期获取星期JS

2022-04-18 娱乐 67阅读
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;}
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com