how to add one week ago day in javascript date code example
Example: js add week to date
var testDate = new Date();
testDate.setDate(testDate.getDate() + 7);
var testDate = new Date();
testDate.setDate(testDate.getDate() + 7);