Answers for "last week date js"

0

get previous week date in javascript

function nextweek(){
    var today = new Date();
    var nextweek = new Date(today.getFullYear(), today.getMonth(), today.getDate()+7);
    return nextweek;
}
Posted by: Guest on March-08-2020
0

last week date js

function nextweek(){
    const today = new Date();
    const nextweek = new Date(today.getFullYear(), today.getMonth(), today.getDate()+7);
    return nextweek;
}
Posted by: Guest on October-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language