getUTCMonthbeginnerconst d = new Date('2024-06-15T00:00:00.000Z')
d.getUTCMonth() // β 5 (June)
// 0=Jan, 11=DecUse getUTCMonth() to retrieve the zero-indexed UTC month (0 = January through 11 = December) of a Date.
Returns the UTC month index (0 = January). Use UTC strings to avoid timezone drift.
Challenge: Verify that new Date('2024-01-15T00:00:00.000Z').getUTCMonth() returns 0.