js date add two weeks code example
Example 1: js add week to date
var testDate = new Date();
testDate.setDate(testDate.getDate() + 7);
Example 2: js date in two weeks
date1.setDate(date.getDate() + 14);
var testDate = new Date();
testDate.setDate(testDate.getDate() + 7);
date1.setDate(date.getDate() + 14);