date.getUTCDay()
An integer from 0 (Sunday) to 6 (Saturday), representing the day of the week for date, where date is treated as a UTC time.