La funzione Format con maschera "w" restituisce un intero che indica il giorno della settimana.