Node.js examples for Date:Day
Get Day of week Name
Date.prototype.getDayName = function() { var d = ['Sunday','Monday','Tuesday','Wednesday', 'Thursday','Friday','Saturday']; return d[this.getDay()]; }