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