<%
Response.buffer = TRUE
Weekstr = Array ("Day", "1", "2", "3", "4", "5", "6")
NWEEK = datepart ("w", date ()) -1 'is today's day?
Output "NWeek =", NWeek
Cweek = weekstr (nweek)
Output "cweek =", CWEEK
Response.clear
%>
After execution, Output is just the data write buffer. If the program is normal, the response.clear will clear the buffer, and there will be no test data on the page!