Javascript Date getToday()

Description

Javascript Date getToday()


Date.prototype.getToday = function () {
    return this.getFullYear()+'-'+this.getMonth()+'-'+this.getDate();
}



PreviousNext

Related