<%@ language="javascript" %>
<%
var d=new Date()
var h=d.getHours()
Response.Write("")
Response.Write(d)
Response.Write("
")
if (h<12)
{
Response.Write("Good Morning!")
}
else
{
Response.Write("Good day!")
}
%>
output is>>>>
Wed Jul 28 22:47:47 EDT 2010
Good day!
0 comments:
Post a Comment