/** * Returns a partial SQL string to search for all records between two times * occurring on the same day. * * @param int|string|DateTime $dateString UNIX timestamp, strtotime() valid string or DateTime object * @param string $fieldName Name of database field to compare with * @param string|DateTimeZone $timezone User's timezone string or DateTimeZone object * * @return string Partial SQL string. * @see CakeTime::dayAsSql() * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html#formatting */ public function dayAsSql($dateString, $fieldName, $timezone = NULL) { return $this->_engine->dayAsSql($dateString, $fieldName, $timezone); }