|
Displaying the Date / Time on your site
We can do this with the Date() function which
displays the date and the Now function which displays the system
date and time.
Code :
<%
'display the date
Response.Write Date()
'a couple of line breaks
Response.Write "<br><br>"
'display the date / time
Response.Write Now()
%>
Notes:
You can of course use the following to display
just the date and time as well.
<%= Date() %>
<%= Now() %>
|