Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript date set weeks

let numWeeks = 2;
let now = new Date();
now.setDate(now.getDate() + numWeeks * 7);
alert(now);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #date #set #weeks
ADD COMMENT
Topic
Name
6+6 =