moment create from date code example
Example 1: moment to date
moment().toDate();
Example 2: moment date add
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
moment().toDate();
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');