Display date and time using ASP
by Nirmala[ Edit ] 2009-08-06 12:07:55
Hi....
To display current date itself use the below code
<% =date %> or <% Response.Write(date()) %>
To display current time itself use the below code
<% =time %> or <% Response.Write(time()) %>
To display current date and time use the below code
<% =now %> or <% Response.Write(now()) %>