Answers for "javascript date set weeks"

0

javascript date set weeks

let numWeeks = 2;
let now = new Date();
now.setDate(now.getDate() + numWeeks * 7);
alert(now);
Posted by: Guest on September-15-2021

Code answers related to "javascript date set weeks"

Code answers related to "Javascript"

Browse Popular Code Answers by Language