摘要:
Date.prototype.pattern=function(fmt) { //日期格式化函数 var o = { "M+" : this.getMonth()+1, //月份 "d+" : this.getDate(), //日 "h+" : this.getHours() == 0 ? 12 : this.getHours(), //小时 "H+" : this.getHours(), //小时 "m+" : this.getMinutes(), //分 "s+" : 阅读全文
posted @ 2012-09-14 13:20
liufei
阅读(328)
评论(0)
推荐(0)