ciao a tutti,
prendo la data cosi
codice:
function prendiData() {
    // prendo la data attuale
    myDate = new Date();
    // 
    anno = myDate.getFullYear();
    giorno = myDate.getDate();
    nomegiorno = myDate.getDay();
    mese = myDate.getMonth();
    // 
    _global.miadata = anno+"/"+mese+"/"+giorno;
    trace(_global.miadata);
}
prendiData();
e nel trace esce
codice:
2005/2/1
come faccio a far uscire
2005/02/01
in pratica deve aggiungere lo 0 davanti ai mesi e ai giorni :master:
grazie