get date 4 weeks from today in javascript code example Example: js add week to date var testDate = new Date(); testDate.setDate(testDate.getDate() + 7);