![]() |
#2
wangjy5002010-10-22 18:27
|
主要代码如下
dt=date+time
if dt<rst("stime") then 考试时间还没有到
else
if dt>rst("etime") then 考试时间已经过了
现在的情况是
response.write dt 显示 2010-10-22 16::40
response.write rst("stime") 显示2010-10-22 8:00
应该继续执行,可是网页显示考试时间还没有到
时间为什么不能比较呢