1.时间戳转时间
function getNowTime(Timestamp){
var time = new Date(Timestamp*1000);
var y = time.getFullYear();
var m = time.getMonth()+1;
var d = time.getDate();
var h = time.getHours() ;
var f = time.getMinutes();
var s = time.getSeconds();
return y+'-'+this.check(m)+'-'+this.check(d)+' '+h+':'+f+':'+s;
}