Display date and time using ASP

by Nirmala 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()) %>

Tagged in:

1295
like
1
dislike
0
mail
flag

You must LOGIN to add comments