The getUTCDay() method returns the day of the week converted to universal time and expressed as an integer from 0 (Sunday) to 6 (Saturday).The following example uses the getUTCDay() Method to Return the Day of the Week