src/model/Base/ReferenceQuery.php
public function filterByLastchecked($lastchecked = null, $comparison = null)
    {
        if (is_array($lastchecked)) {
            $useMinMax = false;
            if (isset($lastchecked['min'])) {
                $this->addUsingAlias(ReferenceTableMap::COL_LASTCHECKED, $lastchecked['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($lastchecked['max'])) {
                $this->addUsingAlias(ReferenceTableMap::COL_LASTCHECKED, $lastchecked['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

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

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

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

@param     mixed $lastchecked 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|ChildReferenceQuery The current query, for fluid interface
Filter the query on the lastchecked column