Date.prototype.getUTCDay

Returns the day of the week using Universal Coordinated Time (UTC).

0 represents Sunday, 1 represents Monday, …, 6 represents Saturday.

Syntax

getUTCDay()

Return value

A number representing the day of the week of a Date, using UTC.