参考:http://bbs.csdn.net/topics/190113991 MYSQL 如何取得系统当前时间的前一天时间 select date_sub(now(),interval 1 day);