把序列化后变成\/Date(1409587200000+0800)\/时间格式的数据转换回 new Date()时间格式
function ChangeDateFormat(cellval) {
try {
var date = new Date(parseInt(cellval.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() : date.getDate();
return new Date(date.getFullYear() + "/" + month + "/" + currentDate);
} catch (e) {
return "";
}
}