Ciao amici lavoro in Asp
Al momento di registrare la data nel Db me la registra nel formato MMGGAA. Io voglio che lo faccia GGMMAA
Come devo intervenire in questo script?
<%
'This function generat a MMM DD YYYY format
Function fDate(d)
fDate = Left(MonthName(Month(FormatDateTime(d,2))),3) & "." & Day(FormatDateTime(d,2)) & "." & Year(FormatDateTime(d,2))
End Function
Function fTime(t)
Dim str
if Hour(FormatDateTime(t,4)) > 12 then
str = " pm"
else
str = " am"
end if
fTime = FormatDateTime(t,4) & str
End Function
%>

Rispondi quotando