将new Date()获取的日期格式化

// 将日期格式化...将格式化加载这个函数的原型上.... Date.prototype.Format = function (fmt){ //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHou
相关文章
相关标签/搜索