getUTCDatebeginnerconst d = new Date('2024-06-15T12:00:00.000Z')
d.getUTCDate() // β 15Use getUTCDate() to retrieve the day of the month (1β31) in UTC, unaffected by the local timezone.
getUTCDate() always returns a value between 1 and 31.
Challenge: Verify that new Date('2024-06-15T12:30:45.000Z').getUTCDate() is between 1 and 31.