devi correggere all'inizio della funzione
non avevi dichiarato una variabile data da cui attingere le varie parti giorno mese anno...codice:var d = new Date(); var wday = d.getDay(); var day = d.getDate(); var month = d.getMonth(); var year = d.getYear(); var hours = d.getHours(); var minutes = d.getMinutes(); var seconds = d.getSeconds(); var milliseconds = d.getMilliseconds();

Rispondi quotando