ASP Time Greet with JavaScript
Time Greet with JavaScript
<%@ 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>