echo Mage::getModel('sales/order')->getCollection()->addAttributeToFilter('created_at', array('from' => $this->date))->count();
echo Mage::getModel('sales/quote')->getCollection()->addAttributeToFilter('created_at', array('from' => $this->date))->count();
Первая строка работает отлично, вторая нивкакую. В чем разница?
$this->date формируется средствами Zend, а именно
$date = new Zend_Date();
$date = $date->sub('7', Zend_Date::DAY);
$this->date = $date->toString('YYYY-MM-dd HH:mm:ss');

Вход
Регистрация
Помощь


