i want to get all the values which are less than current datetime....how to get them?
$disbursals = CorporateDisbursal::find(array("status=:pending: AND disbursal_date < =:date:", 'bind' => array('pending' => Constants::FILE_PENDING, 'date' => date("Y-m-d H:i:s"))));