Ragazzi
Nuovo problemino e tra l'altro anche un po strano; l'inserimento del campo data IN SQL SERVER di ARUBA.IT mi sta creando problemi in quanto su un server funziona bene (all-forevents.com) mentre sull'altro (event-promotion.it) continua a darmi errore

Microsoft OLE DB Provider for SQL Server error '80040e07'

The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.


Ho anche creato la funzione che converte la data nel formato inglese ma nulla; su all-forevents.com funziona bene ma su event-promotion.it da l'errore che ho inserito su

codice:
function convertdata
strYYYY = DatePart("yyyy",Now())
strMM = Right("0" & DatePart("m",Now()),2)
strDD = Right("0" & DatePart("d",Now()),2)
convertdata = strMM &"-"& strDD & "-"& strYYYY &" "& FormatDateTime(Now(),4)
end function