use carbon in laravel blade code example Example: use Class 'Carbon' inside view //use this method inside the view \Carbon\Carbon::now();