var a = new Date(1512824570*1000);
var year = a.getFullYear();//年
var month = a.getMonth()+1;//月
var day = a.getDate();//天