2
I have the following variable in my View:
Auth::user()
    ->LogsSearch()
    ->where('base', $linha->sigla)
    ->where('created_at', date('Y-m-d'))
    ->count()
and I want to filter the results of today, I realized that the problem is in the filter I am only filtering the date of today date('Y-m-d') and in the created_at is 2019-05-05 13:17:08, how do I ignore the time created_at and filter by date only?
Thank you worked perfectly !
– Estudante PHP