Node.js examples for Date:Compare
Compare two date value to see if they the same date
Date.prototype.isSameDate = function(dt){ return this.getFullYear() == dt.getFullYear() && this.getMonth() == dt.getMonth() && this.getDate() == dt.getDate(); }