asp数组对比
<%
t1=Array("190000-240000","000000-142000")
t2=Ftime(time(), "h", "")
for i=0 to Ubound(t1)
t1a=Split(t1(i),"-")(0)
t1b=Split(t1(i),"-")(1)
if t2>t1a and t2<t1b then
tYes=1
exit for
end if
next
%>
<%
t1=Array("190000-240000","000000-142000")
t2=Ftime(time(), "h", "")
for i=0 to Ubound(t1)
t1a=Split(t1(i),"-")(0)
t1b=Split(t1(i),"-")(1)
if t2>t1a and t2<t1b then
tYes=1
exit for
end if
next
%>