📜  javascript 日期设置周 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:03:38.010000             🧑  作者: Mango
代码示例1
let numWeeks = 2;
let now = new Date();
now.setDate(now.getDate() + numWeeks * 7);
alert(now);