get hours, minutes on date object js code example
Example: js date get hours
const birthday = new Date('March 13, 08 04:20');
console.log(birthday.getHours());
// expected output: 4
const birthday = new Date('March 13, 08 04:20');
console.log(birthday.getHours());
// expected output: 4