摘要: js时间格式化new Date().format(“时间格式")Date.prototype.format = function(fmt) { var o = { "M+" : this.getMonth()+1, ... 阅读全文