If you can, use moment.js. JavaScript doesn't have very good native date/time methods. The following is an example Moment's syntax:
var nextWeek = moment().add(7, 'days'); var nextWeek = moment().add(7, 'days'); alert(nextWeek); <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment-with-locales.min.js"></script> Reference: http://momentjs.com/docs/#/manipulating/add/