The getDay() method returns the weekday as a number.
You can use an array to display the name of the weekday: