How To Display The Time & Date Using ASP

 

The following script demonstrates how to display the time and date using ASP. The time is displayed using the server's local time.

 

 

Example

 

The Time is: 14:24:34.
Today's Date is: 05/02/2012.

 

Script Source

 

The Time is: <%response.write(time())%>.
<br>
Today's Date is: <%response.write(date())%>.

 

Please let me know if this script was helpful to you.

[rating]