showing results for - "javascript date set weeks"
Romeo
30 Apr 2019
1let numWeeks = 2;
2let now = new Date();
3now.setDate(now.getDate() + numWeeks * 7);
4alert(now);
5
similar questions
queries leading to this page
javascript date set weeks