Is there a way of comparing 2 dates without time with momentJS?
I've tried various formats, but can't seem to get it to work.
I have it working fine with dateTime:
var ExpiryDate = new Date("11/13/2014 11:13:00");
var daysDiff = moment(ExpiryDate).diff(moment(Date.now()), 'days');
I'm looking to get the result to be 14 days no matter what time of day.
Thanks