JavaScript Date getUTCDay()
JavaScript Date getUTCDay()
The getUTCDay() method is used to return the day of the week of a date i.e, from 0 to 6. It returns value according to universal time.
Syntax:-
Its syntax is:- Date.getUTCDay()
Return:-
Its return is:- day of the week from 0 to 6 according to UTC