📜  上周日期 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:49.527000             🧑  作者: Mango

代码示例2
function nextweek(){
    const today = new Date();
    const nextweek = new Date(today.getFullYear(), today.getMonth(), today.getDate()+7);
    return nextweek;
}