moment set hours and minutes to date code example
Example 1: moment hour minute
moment().format('HH:mm:ss')
Example 2: moment set time
const date = "2017-03-13";
const time = "18:00";
const timeAndDate = moment(date + ' ' + time);
console.log(timeAndDate);