Tchê,
I'm just trying to get information from the bank only when I have the same day as today, so I tried these ways:
...
->where('a.data_hora = ?', current_date());
....
->where('a.data_hora = current_date');
.....
$data = date("Y-m-d");
->where('a.data_hora = ? ', $data);
..
->where('a.data = data');
But none of them brought me the result .... the field I want to bring is a timestamp, but I do not just need the date of this face.
Can anyone help me?