Answers for "get previous week date in javascript"

-1

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

Code answers related to "get previous week date in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language