javascript date now - 7 days code example
Example 1: new date() in javascript 3 days from now
var dt = new Date();
dt.setDate(dt.getDate() + 3);
Example 2: javascript get 7 days from now
var date = new Date();
date.setDate(date.getDate() - 13);
console.log(date);
Example 3: javascript date - 7 days
var date = new Date("08-02-2020");
date.setDate(date.getDate() + 7);
console.log(date);