<%@ language="javascript" %>
<html>
<body>
<%
var d=new Date()
var h=d.getHours()
Response.Write("<BR>")
Response.Write(d)
if (h<12) { Response.Write("Good Morning!") }
else { Response.Write("Good day!") }
%>
</body>
</html>
Published in: ASP
Download

Related snippets