📜  从“时刻”导入*作为时刻; - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:30.208000             🧑  作者: Mango

代码示例3
var time = "15:30:00";
var formatted = moment(time, "HH:mm:ss").format("LT");
console.log(formatted); 
//it will return 3:30 PM