摘要: var date = new Date(parseInt(value.replace("/Date(", "").replace(")/", ""), 10)); var month = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1; var currentDate = date.getDate() < 10 ? "0" + date.getDate() : 阅读全文
posted @ 2012-02-20 15:35 biubiubiu 阅读(283) 评论(0) 推荐(0) 编辑