src/Alchemy/Component/Cerberus/Model/Base/LogQuery.php
public function filterByDateTime($dateTime = null, $comparison = null)
    {
        if (is_array($dateTime)) {
            $useMinMax = false;
            if (isset($dateTime['min'])) {
                $this->addUsingAlias(LogTableMap::COL_DATE_TIME, $dateTime['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($dateTime['max'])) {
                $this->addUsingAlias(LogTableMap::COL_DATE_TIME, $dateTime['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(LogTableMap::COL_DATE_TIME, $dateTime, $comparison);
    }
public function filterByDateTime($dateTime = null, $comparison = null)
    {
        if (is_array($dateTime)) {
            $useMinMax = false;
            if (isset($dateTime['min'])) {
                $this->addUsingAlias(LogTableMap::COL_DATE_TIME, $dateTime['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($dateTime['max'])) {
                $this->addUsingAlias(LogTableMap::COL_DATE_TIME, $dateTime['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(LogTableMap::COL_DATE_TIME, $dateTime, $comparison);
    }
public function filterByDateTime ( $ dateTime = null , $ comparison = null ) { if ( is_array ( $ dateTime ) ) { $ useMinMax = false ; if ( isset ( $ dateTime [ 'min' ] ) ) { $ this -> addUsingAlias ( LogTableMap :: COL_DATE_TIME , $ dateTime [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ dateTime [ 'max' ] ) ) { $ this -> addUsingAlias ( LogTableMap :: COL_DATE_TIME , $ dateTime [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( LogTableMap :: COL_DATE_TIME , $ dateTime , $ comparison ) ; }
Filter the query on the date_time column

Example usage:
<code>
$query->filterByDateTime('2011-03-14'); // WHERE date_time = '2011-03-14'
$query->filterByDateTime('now'); // WHERE date_time = '2011-03-14'
$query->filterByDateTime(array('max' => 'yesterday')); // WHERE date_time > '2011-03-13'
</code>

@param     mixed $dateTime The value to use as filter.
Values can be integers (unix timestamps), DateTime objects, or strings.
Empty strings are treated as NULL.
Use scalar values for equality.
Use array values for in_array() equivalent.
Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return $this|ChildLogQuery The current query, for fluid interface
Filter the query on the date_time column