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