var date = new Date(); date.setDate(date.getDate() - 13); console.log(date);
var date = new Date("08-02-2020"); date.setDate(date.getDate() + 7); console.log(date);