Hmmm...
maybe you *are* trying to use asp, and not aspx.
Is that file's extension asp or aspx ?
For either case, use this :
<%=Response.Write(now())%>
Notice the equals sign, OK?
Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ :
http://asp.net.do/faq/
==========================
<ja****@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
This code below suppose to display time of my PC on the web but it
doesnt ..it just echos "Hello W3Schools!"
<html>
<body bgcolor="yellow">
<center>
<h2>Hello W3Schools!</h2>
<p><%Response.Write(now())%></p>
</center>
</body>
</html>
what is wrong?
rgds
cha