Javascript Date isoDate()

Description

Javascript Date isoDate()

Date.prototype.isoDate = function() {
 return this.getFullYear() + "-" + (parseInt(this.getMonth())+1) + "-" + this.getDate();
}



PreviousNext

Related