moment add time only code example
Example 1: moment js add day
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
Example 2: moment to javascript date
let now = moment()
let now = now.toDate()
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
let now = moment()
let now = now.toDate()