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.
Returns the hour (0β23) in local time.
Challenge: Verify that new Date(2024, 0, 15, 12).getHours() returns 12.