getHoursbeginnerconst d = new Date(2024, 0, 15, 14, 30)
d.getHours() // β 14
// returns 0β23Use getHours() to retrieve the hour (0β23) of a Date object in local time.
Midnight (the start of a day) has hours = 0.
Challenge: Verify that new Date(2024, 0, 15, 0).getHours() returns 0.