以文本方式查看主题

-  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=108044)

--  作者:baiheinet
--  发布时间:2017/10/14 22:03:00
--  请问小时 分钟 时间段怎么筛
    If dr("VipLog_DateTime") <  Date.Today & # 06:35#  Then
        dr("取整时段") = Date.Today  & # 6:30#
        
    End If

--  作者:有点甜
--  发布时间:2017/10/15 14:56:00
--  

If dr("VipLog_DateTime") <  Date.Today.AddMinutes(6*60+35) Then
    dr("取整时段") = Date.Today.AddMinutes(6*60+30)
End If