可以用Moment.js的utc()方法来实现,代码如下: moment().utc(1388039919588).format('YYYY-MM-DD hh:mm:ss'); //=> 2013-12-26 07:30:37