|
|
|
|
|
| | |
| |
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: Date |
|
From: |
SI |
|
Date: |
2/9/2003 6:53:53 AM |
|
IP: |
80.225.40.64 |
If you want to keep the hours and mins - but omit the seconds you will have to build your own function that returns the date/time in the desired format:
Private Function FormatDate(ByVal mDate)
FormatDate = Day(mDate) & "/" & Month(mDate") & "/" & Year(mDate) & " " & Hour(mDate) & ":" & Minute(mDate)
End Function
You could use the function using:
<%
Response.Write FormatDate(Now)
%>
...for example. |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|