怎么用jquery计算当前周的前一周
1 回答

慕妹3146593
TA贡献1820条经验 获得超9个赞
var oDate = new Date();
var a = oDate.getDay();//今天周几
oDate.setDate(oDate.getDate() - 7)//当前今天的前一周
- 1 回答
- 0 关注
- 732 浏览
添加回答
举报
0/150
提交
取消