时间戳转换成日期
var
format: function(time) {
var now = new Date(time),
year = now.getFullYear(),
month = now.getMonth() + 1,
day = now.getDate();
return month + "月" + day + "日上映";
}
function format(time){var time = new Date(time);var y = time.getFullYear();var m = time.getMonth()+1;var d = time.getDate();var h = time.getHours();var mm = time.getMinutes();var s = time.getSeconds();return y+'-'+年+'-'+天+' '+小时+':'+分+':'+秒;}

浙公网安备 33010602011771号