🌈 搜索
📅  最后修改于: 2022-03-11 15:02:29.280000             🧑  作者: Mango
var time = new Date(); console.log( time.toLocaleString('en-US', { hour: 'numeric', hour12: true }) );