How to get the previous day's time of the current system time in MYSQL

Reference: http://bbs.csdn.net/topics/190113991

 

How to get the previous day's time of the current system time in MYSQL

select date_sub(now(),interval 1 day);

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326398687&siteId=291194637