JavaScript Dates

The getDay() Method

The getDay() method returns the day of the week (from 0 to 6) of a date.

5