大佬帮我看看,时间不对咋回事·c·
var s=new Date();
var n=(["星期日","星期一","星期二","星期三","星期四","星期五","星期六",]);
document.write("今天是"+s.getFullYear()+"年"+s.getMonth()+"月"+s.getDay()+"日,"+n[s.getDay()]);
var s=new Date();
var n=(["星期日","星期一","星期二","星期三","星期四","星期五","星期六",]);
document.write("今天是"+s.getFullYear()+"年"+s.getMonth()+"月"+s.getDay()+"日,"+n[s.getDay()]);
2022-11-04
举报