dimana tanggal laravel
$q->whereDate('created_at', '=', date('Y-m-d'));
Zeevx
$q->whereDate('created_at', '=', date('Y-m-d'));