Jump to Content
Jump to Navigation

Just testing a plugin…

I found this great plugin Code Markup that allows for easy posting of code examples. So here's an example of ASP code to show a different greeting depending on the time of day.

<%
Dim dHour
dHour = Hour(Now)

If dHour < 12 Then
Response.Write "Good morning"
ElseIf dHour < 17 Then
Response.Write "Good afternoon"
Else
Response.Write "Good evening"
End If
%>



Leave me your comments

Enter Your Details:

Enter Your Comments: