Così andrebbe bene ???


codice:
Datacorrente = new Date();
giorno=datacorrente.getDate()
mese=datacorrente.getMonth()
anno=datacorrente.getYear()-100

if(anno<10){YYYY="200"+String(anno)}else{YYYY="20"+String(anno)}

if(mese<10){MM="0"+String(mese)}else{MM=String(mese)}
											   
if(giorno<10){DD="0"+String(giorno)}else{DD=String(giorno)}

mydata=YYYY+MM+DD
myfile="_pvb261.xml"
myclip=mydata+myfile

_root.mc.load(myclip)