Hi Tom,
The error is caused by an incorrect page directive. Instead of <% language you'll need <%
@ language. So this will work
Code:
:<%@ Language=VBScript %>
<% Option Explicit %>
<html>
<body>
<%
If DatePart("h", Time()) >= 12 then
' It is after noon
Response.Write "Good Evening!"
Else
Response.Write "Good Morning"
End If
%>
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.