P
Paulo
Any function on ASP to format date on dd/mm/yyyy?
The format (VB) function does not work on ASP ?
Thanks!
The format (VB) function does not work on ASP ?
Thanks!
http://www.aspfaq.com/show.asp?id=2313 vbscriptPaulo said:Any function on ASP to format date on dd/mm/yyyy?
The format (VB) function does not work on ASP ?
<%
Response.Write rs("DT_EXAME") & " = " & MDY(rs("DT_EXAME"))
Function MDY(DT)
MDY = ""
If IsDate(DT) Then
MDY = Right(100+Day(DT),2) & "/" _
& Right(100+Month(DT),2) & "/" & Year(DT)
End If
End Function
%>
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.