博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年7月30日

摘要: json 返回数据时间的绑定的转换function ChangeDateFormat(dateTime) { var date = new Date(parseInt(dateTime.replace("/Date(", "").replace(")/", ""), 10)); var month = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1; var currentDate = 阅读全文

posted @ 2012-07-30 11:33 Wuqh 阅读(1615) 评论(2) 推荐(2) 编辑