Javascript Date getDisplayDate()

Description

Javascript Date getDisplayDate()


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



PreviousNext

Related