高收录域名 有收录的域名,有历史建站记录域名,搜狗pr域名,搜狗权重域名,搜狗权重域名,高收录域名,百度权重域名,外链反链域名,景德镇网站建设

网站程序如何读取一周之内的数据

 

一周内的
sqlTotal="select Count(*) from Count where DATEDIFF('d',time,Now())<=7"

昨天
sqlTotal="select Count(*) from Count where DATEDIFF('d',time,Now())=1"

今天
sqlTotal="select Count(*) from Count where DATEDIFF('d',time,Now())=0

2014-08-16 | 发布:zhushican | 分类:seo教程 | 评论:0