Javascript Date toSimpleStr()
toSimpleStr()
Date.prototype.toSimpleStr = function(){ return this.getFullYear()+'-'+ (this.getMonth()+1) + '-'+this.getDate()+' '+this.getHours()+':'+this.getMinutes()+':'+this.getSeconds(); }