check if the date is the same between two moment dates ignore time 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) {
}