var data = [] for (var i = 0; i< 6; i++) { var data1 = new Date() data.push({created: data1.valueOf(), name: 'liushui'}) } data.map(function(k) { var str = new Date(k.created) console.log(str) return { created: str, name: k.name } }) console.log(data)