Js序列化时间
摘要:
var time = "/Date(1279270720000+0800)/"; var tme1 = ChangeDateFormat(time); alert(tme1);JS方法为: function ChangeDateFormat(cellval) { var date = new Date(parseInt(cellval.replace("/Date(", "").replace(")/", ""), 10)); var month = date.getMonth() + 1 &l 阅读全文
posted @ 2013-03-29 14:45 YEKEYISHUO 阅读(159) 评论(1) 推荐(0) 编辑