Javascript Date getDisplayMonth()

Description

Javascript Date getDisplayMonth()

Date.prototype.getDisplayMonth = function()
{
 return this.getMonth() > 9 ? "" : "0" + this.getMonth();
};



PreviousNext

Related