📜  js 日期获取小时数 - Javascript 代码示例

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

代码示例2
const birthday = new Date('March 13, 08 04:20');

console.log(birthday.getHours());
// expected output: 4