Originariamente inviato da ffilogamo
<form name='News' method='post' action='news.asp?mode=postdb'>
<%
public function formatDateTimeDb(dtmDateValue, dtmTimeValue)
formatDateTimeDb = Year(dtmDateValue) &_
"/" & Month(dtmDateValue) &_
"/" & Day(dtmDateValue) &_
" " & dtmTimeValue
end function
%>
inizio
<input type='text' name='inizio' size="30">
fine
<input type='text' name='fine' size="30">
.....
<input type='image' src='enter.gif' name='Submit' value='Enter'>
....
<%
dtmDataCorretta = formatDateTimeDb(Now(), Time())
Response.Write(dtmDataCorretta)
%>
è cosi?