Displaying a message according to the time of a day and weekday.

Submitted by admin on Fri, 15/01/2010 - 21:32
This program displays a message according to the time of the day and weekday. greeting.asp

<%@ Language=VBScript %>
<% 
If Time >= #12:00:00 AM# and Time < #12:00:00 PM# then
greeting = "Good Morning"
else
greeting = "Hello!"
End if
%>







<% =greeting %> 

<% Call SayDate() Response.Write("
") %>