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 %>