代码改变世界

『MySQL』时间差

2013-03-10 15:51  我是文东  阅读(341)  评论(0编辑  收藏  举报
1 DATEDIFF(now(),start) <=7

now() 当前时间

start 数据库时间字段

表示相关7天时间。