取出数据库中一个时间段的数据
使用sql 查询语句
'day1和day2都是日期
Select * from news Where time between #"&day1&"# and #"&day2&"#
或者
Select * from news Where time>= #"&day1&"# and time<=#"&day2&"#
但是对于day1=day2的情况却不可以.
所以加一个判断吧如果day1=day2
直接使用
select * from news where time=#"& day1 & "#"