Display a string and time
Back to ASP
The following code displays a string with the time from the server
<HTML>
<HEAD><TITLE>Displaying time within a string</TITLE></HEAD>
<BODY>
<%
strGreetingMsg = "Hello. It is now " & Time() & _
" on the server."
Response.Write strGreetingMsg
%>
</BODY>
</HTML>