Session.LCID = 1040
la solita righetta e le date " devono " essere ritornate in italiano.
I giorni della settimana sì, ma i mesi dell'anno ?
I gironi me li dà giusti, ma i mesi appaiono ancora in inglese. cosa sbaglio? sono entrato in pallone.. e di brutto:
<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>
function DoDateTime(str, nNamedFormat, nLCID)
dim strRet
dim nOldLCID
strRet = str
If (nLCID > -1) Then
oldLCID = Session.LCID
End If
On Error Resume Next
If (nLCID > -1) Then
Session.LCID = nLCID
End If
If ((nLCID < 0) Or (Session.LCID = nLCID)) Then
strRet = FormatDateTime(str, nNamedFormat)
End If
If (nLCID > -1) Then
Session.LCID = oldLCID
End If
DoDateTime = strRet
End Function
</SCRIPT>
help me . grazie.

Rispondi quotando