Ho risolto in un altro modo(anche con l'aiuto della guida di "flash-mx.html.it"), grazie tante lo stesso :

************************************************** *******************

dat = new Date();
dat.getDate();
datacorrente = (dat.getMonth()+1)+"/"+dat.getDate()+"/"+dat.getFullYear();
if ((dat.getMonth()+1)<10) {
datacorrente = "0"+(dat.getMonth()+1)+"/"+dat.getDate()+"/"+dat.getFullYear();
}
if (dat.getDate()<10) {
datacorrente = (dat.getMonth()+1)+"/"+"0"+dat.getDate()+"/"+dat.getFullYear();
}
ora = dat.getHours()+":"+dat.getMinutes()+":"+dat.getSec onds();
if (dat.getMinutes()<10) {
ora = dat.getHours()+":"+"0"+dat.getMinutes()+":"+dat.ge tSeconds();
}
if (dat.getSeconds()<10) {
ora = dat.getHours()+":"+dat.getMinutes()+":"+"0"+dat.ge tSeconds();
}
giorno_della_settimana = new Date();
giorno = giorno_della_settimana.getDay();
if (giorno_della_settimana.getDay() == 1) {
giorno = "Lunedì";
} else if (giorno_della_settimana.getDay() == 2) {
giorno = "Martedì";
} else if (giorno_della_settimana.getDay() == 3) {
giorno = "Mercoledì";
} else if (giorno_della_settimana.getDay() == 4) {
giorno = "Giovedì";
} else if (giorno_della_settimana.getDay() == 5) {
giorno = "Venerdì";
} else if (giorno_della_settimana.getDay() == 6) {
giorno = "Sabato";
} else if (giorno_della_settimana.getDay() == 7) {
giorno = "Domenica";
}