moment check if match days code example
Example: moment js - to find if dates are same by day
var iscurrentDate = startTime.isSame(new Date(), "day");
if(iscurrentDate) {
}
var iscurrentDate = startTime.isSame(new Date(), "day");
if(iscurrentDate) {
}