Php 推进筛选所有今天有';在mysql数据库中将日期作为时间戳

Php 推进筛选所有今天有';在mysql数据库中将日期作为时间戳,php,propel,Php,Propel,如何使用推进功能仅过滤当天(今天)的结果: $checkIfMaxNrOfPointsTransactionsForToday = PointsTransactionsQuery::create() ->filterByTimeCreated(array('max' => 'today')) ->filterByUserId($this->userId)

如何使用推进功能仅过滤当天(今天)的结果:

$checkIfMaxNrOfPointsTransactionsForToday = PointsTransactionsQuery::create()                  
            ->filterByTimeCreated(array('max' => 'today'))              
            ->filterByUserId($this->userId)
            ->count();
谢谢

是我觉得有用的答案。只需将最小值和最大值放在当前日期内即可