moment with no 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 to javascript date
let now = moment()
let now = now.toDate()