摘要: JS 时间格式化函数 //时间格式化函数Date.prototype.format = function (format) { var o = { "M+": this.getMonth() + 1, //month "d+": this.getDate(), //day "h+": this.getHours(), //hour "m+": this.getMinutes(), ... 阅读全文
posted @ 2011-10-17 16:28 hen 阅读(6934) 评论(2) 推荐(2) 编辑