date same or not in moment js 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) {
}