源代码:
<% dim h h=hour(now()) response.write("
" & now()) response.write("
") If h<12 then response.write("Good Morning!") else response.write("Good day!") end if %>
运行结果:
<% dim h h=hour(now()) response.write("
" & now()) response.write("
") If h<12 then response.write("Good Morning!") else response.write("Good day!") end if %>