Run ❯
Get your own website
❯Run Code Ctrl+Alt+R
Save Code Ctrl+Alt+A
Change Orientation Ctrl+Alt+O
Change Theme Ctrl+Alt+D
Go to Spaces Ctrl+Alt+P
JavaScript Dates
The getDay() Method
Return the weekday as a number.
You can use an array of names to return the weekday as a name: