2013年1月24日
摘要: var myDate = new Date();重构日期格式化1:Date.prototype.format = function(format) { var o = { "M+": this.getMonth() + 1, //month "d+": this.getDate(), //day "h+": this.getHours(), //hour "m+": this.getMinutes(), //minute "s+": this.getSeconds(), //second &qu 阅读全文
posted @ 2013-01-24 16:53 Haydy 阅读(411) 评论(0) 推荐(0) 编辑