摘要:
var str = '2008-11-11 11:11:09'; alert(str.replace(/\s\d+:\d+:\d+$/,''));Date.prototype.format = function(format) { var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this... 阅读全文
posted @ 2010-04-29 17:34
Ole
阅读(403)
评论(0)
推荐(0)

浙公网安备 33010602011771号