create moment object with date and time code example
Example 1: format a date moment
moment(testDate).format('MM/DD/YYYY');
Example 2: moment date add
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
moment(testDate).format('MM/DD/YYYY');
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');