let nowtime =newDate();var year = nowtime.getFullYear();var month = nowtime.getMonth()+1;var day = nowtime.getDate();var h =nowtime.getHours();var m = nowtime.getMinutes();var s = nowtime.getSeconds();
时间戳转时间let nowtime = new Date();var year = nowtime.getFullYear();var month = nowtime.getMonth()+1;var day = nowtime.getDate();var h =nowtime.getHours();var m = nowtime.getMinutes();var s = nowtime.getSeconds();时间转时间戳 new Date(year+'/'+month+'/'+da