以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  在今天时间段怎么判断?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=43453)

--  作者:wuxianzuoji41
--  发布时间:2013/12/7 17:48:00
--  在今天时间段怎么判断?


If  dr2("next_time")>= Date.Today  And dr2("next_time")<=  Date.Today & " 23:59:59" & "\'"  Then
 msgbox(“ok" )
End  If

 

提示错误,谁帮着改正一下


--  作者:有点甜
--  发布时间:2013/12/7 19:25:00
--  

If  dr2("next_time")>= Date.Today  And dr2("next_time") <  Date.Today.AddDays(1) Then
    msgbox("ok" )
End  If