Modificare il codice:
Vedi Risultato »
Prova tu stesso - ©
w3ii.com
The getDay() method returns the weekday as a number: