convert 7d to 7 days + js code example
Example: javascript get 7 days from now
var date = new Date();
date.setDate(date.getDate() - 13);
console.log(date);
var date = new Date();
date.setDate(date.getDate() - 13);
console.log(date);