Example ASP page
This page prints the current time, and either “Good Morning” or Good Day”, depending on the time. Note the use of the time variable and hour function from VBScript.<html><head><TITLE>hi.asp</TITLE></head><body bgcolor="#FFFFFF">Today is <%=now%> and all is well<br><%if hour(now())ᡅ THEN%>Good Morning <%ELSE%> Good Day! <%END IF%> </body></html>