Javascript Date getShortMonth()

Description

Javascript Date getShortMonth()


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



PreviousNext

Related