ASP最简单的问题
<%if time >=#6:00:00# and <=#11:29:00# then
response.write "早上好!今天又是新的开始!加油啊!"
elseif time >=#11:30:00# and <=#2:30:00# then
response.write "中午好!吃饱饭会更有精神哟!"
elseif time >=#2:31:00"# and <=#6:59:00# then
response.write "下午好!今天收获还不错吧!努力哟!"
elseif time >=#7:00:00# and <=#10:00:00# then
response.write "晚上好!是时候放松下心情了哟!"
else
response.write "夜深了!早点休息,注意身体别太晚哟!"
end if
%>
----------------------------------------------------------------------------
初学者一个,请问下这样编写怎么会出错的呢?
错误类型:
Microsoft VBScript 编译器错误 (0x800A03EA)
语法错误
/ok.asp, line 18, column 24
[bo]if time >=#6:00:00# and <=#11:29:00# then
-----------------------^
[/bo]