laravel eloquent where date day code example Example: where date laravel $q->whereDate('created_at', '=', date('Y-m-d'));