如何使用编码器从数据库中获取明天的日期


How to get the day of tomorrow from database using codeginiter

我在codeginiter中有一个压缩日期问题。今天的示例是2014-08-14,但我想从数据库中选择日期=明天的数据。

有人能帮我吗?

$tomorrow_time = strtotime("+1 day");
$tomorrow_date = date('Y-m-d', $tomorrow_time);
 $datetime = new DateTime('tomorrow');
 echo $datetime->format('Y-m-d H:i:s');

in SQL

where date = DATE_ADD(NOW(),INTERVAL 1DAY)