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'); Reference: http://momentjs.com/docs/#/manipulating/add/
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'); Reference: http://momentjs.com/docs/#/manipulating/add/