Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get 7 days from now

var date = new Date();
date.setDate(date.getDate() - 13);

console.log(date);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #days
ADD COMMENT
Topic
Name
9+5 =