1, 数据库为Access,我想从一张表中选出今天以后发布的信息
tem_date=date()
select * from information where fb_date>='"&tem_date&"' order by fb_date Dec
执行后,出现"标准表达式中数据类型不匹配",这是什么问题?
字段 fb_date 为短日期格式.例如 2004-7-9.
2, 我想根据date() 得到一天或者N天前的日期,怎么办?日期为短日期格式.
帮忙!
...全文
1277打赏收藏
求助: 日期计算的问题
1, 数据库为Access,我想从一张表中选出今天以后发布的信息 tem_date=date() select * from information where fb_date>='"&tem_date&"' order by fb_date Dec 执行后,出现"标准表达式中数据类型不匹配",这是什么问题? 字段 fb_date 为短日期格式.例如 2004-7-9. 2, 我想根据date() 得到一天或者N天前的日期,怎么办?日期为短日期格式. 帮忙!