magentoAPI new MagentoApi from strtotime now -3 day to strtotime now f

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
$magentoAPI = new MagentoApi();
$from = strtotime("now -3 day");
//$to = strtotime("now");
$filters = array('complex_filter' =>
array(
array('key' => 'updated_at', 'value' => array('key' => 'from', 'value' => date('Y-m-d H:i:s', $from))),
array('key' => 'status', 'value' => array('key' => 'equal', 'value' => 'complete'))
)
);