📌  相关文章
📜  将时间戳转换为日期 javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:18.932000             🧑  作者: Mango

代码示例6
javascriptCopyvar timestamp = 1607110465663
var date = new Date(timestamp);

console.log("Date: "+date.getDate()+
          "/"+(date.getMonth()+1)+
          "/"+date.getFullYear()+
          " "+date.getHours()+
          ":"+date.getMinutes()+
          ":"+date.getSeconds());