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