//用来转换/Date(xxxxxx)/类型的JSON日期为要求的日期格式字符串
String.prototype._formatJsonDate = function (format) {
var str = this.substring(6, this.length - 2); //获取毫秒部分
var dateObj = new Date(parseInt(str, 10));
var dateStr = dateObj._format(format);
return dateStr;
}