📜  javascript 从日期获取小时数 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:02:52.592000             🧑  作者: Mango
代码示例3
const birthday = new Date('March 13, 08 04:20');
console.log(birthday.getHours());
// expected output: 4