I have a contracts table called contract with two columns data_ini
and data_fim
.
data_ini
and data_fim
looks like this: 04/20/2014 10:46 AM
I need to search between dates, without the time. If I did not have the time I would have it, but with the time this is difficult.
I'm trying this now
SELECT DATE_FORMAT(data_ini, '%d/%m/%Y') FROM contrato