Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Dates
The getDay() Method
The getDay() method returns the day of the week (from 0 to 6):