<?php

namespace App\Http\Controllers;
use Carbon;

class HomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        $this->middleware('auth');
    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $date = Carbon::now()->toFormattedDateString();
        return view('welcome')->with('date', $date);
    }
}

<?php

namespace App\Http\Controllers;

class HomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        $this->middleware('auth');
    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        return view('welcome');
    }
}

--- 
+++ 
@@ -1,6 +1,7 @@
 <?php
 
 namespace App\Http\Controllers;
+use Carbon;
 
 class HomeController extends Controller
 {
@@ -21,6 +22,7 @@
      */
     public function index()
     {
-        return view('welcome');
+        $date = Carbon::now()->toFormattedDateString();
+        return view('welcome')->with('date', $date);
     }
 }
Use of Carbon for Date
