prova cambiando queste righe:
in queste:codice:var strMonth=dtStr.substring(0,pos1) var strDay=dtStr.substring(pos1+1,pos2)
ciaocodice:var strDay=dtStr.substring(0,pos1) var strMonth=dtStr.substring(pos1+1,pos2)
prova cambiando queste righe:
in queste:codice:var strMonth=dtStr.substring(0,pos1) var strDay=dtStr.substring(pos1+1,pos2)
ciaocodice:var strDay=dtStr.substring(0,pos1) var strMonth=dtStr.substring(pos1+1,pos2)