📅  最后修改于: 2022-03-11 15:03:01.403000             🧑  作者: Mango
代码示例1
var today = new Date();
var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds();
console.log(time)