moment add custom date and time code example
Example 1: moment set time
const date = "2017-03-13";
const time = "18:00";
const timeAndDate = moment(date + ' ' + time);
console.log(timeAndDate);
Example 2: moment date add
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');