function timeFormatter(value) {
var da = new Date(parseInt(value.replace("/Date(", "").replace(")/" , "").split( "+")[0]));
return da.getFullYear() + "-" + (da.getMonth() + 1) + "-" + da.getDate();
// + " " + da.getHours() + ":" + da.getMinutes() + ":" + da.getSeconds();
}
时间js转换方法Date("149...") 转成 2016-7-12 21:23:34 009
原文:http://www.cnblogs.com/liwp/p/5664937.html