CreateTime=\/Date(1458722493663+0800)\/ var CreateTime="/Date(1458722493663+0800)/";var startIndex = CreateTime.indexOf("(") + 1; var endIndex = arr[i].CreateTime.indexOf(")"); var date = CreateTime.substring(startIndex, endI…
String.prototype.format = function(args) { if (arguments.length>0) { var result = this; if (arguments.length == 1 && typeof (args) == "object") { for (var key in args) { var reg=new RegExp ("({"+key+"})","g&qu…