ASP程序问题请教
本帖最后由 cqaspx 于 2013-03-28 02:12:11 编辑
程序由ACCESS转SQL数据库呢
原来在AC下
if request("shijian")="today" then
rs.open "select * from baoxiu where weixiu =1 and time >= #" & date() &" 0:00:00# and time <= #" & date() &" 23:59:59#",conn,1,1
else
这个可正常统计当日文章,现在不行了,麻烦帮忙看看.谢谢
------解决方案--------------------rs.open "select * from baoxiu where weixiu =1 and time >= '" & date() &" 0:00:00' and time <= '" & date() &" 23:59:59'"