Javascript Date getMonthShortName()

Description

Javascript Date getMonthShortName()

Date.prototype.getMonthShortName = function() {
 var m = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
 return m[this.getMonth()];
};



PreviousNext

Related