public function index() { $now = Carbon::now()->toDateTimeString(); $now2 = Carbon::now()->subMonth(6)->toDateTimeString(); $Programas = Programa::whereBetween('updated_at', [$now2, $now])->orderBy('titulo', 'asc')->paginate(15); return view('Programas/Programas')->with(['Programas' => $Programas]); }