s = s.replace(/-/g,"/"); var create=rec.map['createTime'];create=convertToDateTime(create);var createTime = new Date(create); return createTime.toLocaleString();