/

HTML / CSS / JavaScript Tutorial

JavaScript Date method: getUTCDay()

[this page | pdf | back links]

The getUTCDay() method (when applied to a JavaScript date) returns the UTC day of the week (0 to 6).

 

It has the following syntax (with no parameters):

 

date.getUTCDay()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Dates


Desktop view | Switch to Mobile