📌  相关文章
📜  从现在开始一周后获取日期 javascript 代码示例

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

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