moment check same date 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) {
}