摘要:
/*** 时间对象的格式化;*/Date.prototype.format = function(format){/* * eg:format="YYYY-MM-dd hh:mm:ss"; */var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour... 阅读全文
posted @ 2010-10-13 16:35
pct_zhang
阅读(657)
评论(0)
推荐(0)
