I am performing the following capture of a date:
$dtInicial = $this->_getParam('dataInicial'); // Padrão dd/mm/aaaa
To search the precise database, leave it in the yyyy / mm / dd pattern:
$dt1 = date('Y-m-d', strtotime($dtInicial));
But if you did the research of the day that does not work today, for example: 25/12/2014 returns "1969-31-12"
And another detail is that I need to do a search between one date and another, I know how to use between in sql, but using ZF1 I'm not sure,
$select = $this->select();
$select->where("data_prazo = ?", $dtInicial);
$select->where("data_prazo = ?", $dtFinal);