se vuoi ottenere 18:11:2005
codice:
valore = today.getDate()+':'+(today.getMonth()+1)+':'+today.getFullYear();
se vuoi ottenere 18/11/2005
codice:
valore = today.getDate()+'/'+(today.getMonth()+1)+'/'+today.getFullYear();
ecc...