| 发表于:2008-01-18 12:57:3713楼 得分:0 |
我用的是access+asp,format函数我是想取出生日的月和日,加上当前的年,得到一个日期,跟当前的日期比效, 空格去掉了,也是不行,:( rs.open "select * from customer where datediff('d',date(),datevalue(cstr(year(date()))+'-'+format(birthday,'mm-dd'))) <=7 order by jifen desc",conn,1,1 | | |
|