carbon_laravel_blade
https://stackoverflow.com/questions/35149189/use-carbon-function-in-laravel-viewblade-template/35149608
https://scotch.io/tutorials/easier-datetime-in-laravel-and-php-with-carbon
from Controller to View
{{ \Carbon\Carbon::parse( $user->last_login_at )->diffForHumans() }} // 2 Hours ago
in blade view, no data coming to this view
<li class="header">Last Login: {{ \Carbon\Carbon::parse( Auth::user()->last_login_at )->diffForHumans() }}</li>
{{ \Carbon\Carbon::parse( Auth::user()->last_login_at )->toDayDateTimeString() }}
// Tue, Aug 21, 2018 12:01 PM
{{ \Carbon\Carbon::parse( Auth::user()->last_login_at )->toDateTimeString() }}
// 2015-12-19 10:10:16
{{ \Carbon\Carbon::parse( Auth::user()->last_login_at )->toTimeString() }}
// 10:10:16
{{ \Carbon\Carbon::parse( Auth::user()->last_login_at )->toFormattedDateString() }}
// Dec 19, 2015
{{ \Carbon\Carbon::parse( Auth::user()->last_login_at )->toDateString() }}
// 2015-12-19
{{ \Carbon\Carbon::parse( Auth::user()->last_login_at )->format('l jS \\of F Y h:i:s A') }}
// Saturday 19th of December 2015 10:10:16 AM
======= FOR CURRENT DATES =======
$dt = Carbon::now();
echo $dt->toDateString(); // 2015-12-19
echo $dt->toFormattedDateString(); // Dec 19, 2015
echo $dt->toTimeString(); // 10:10:16
echo $dt->toDateTimeString(); // 2015-12-19 10:10:16
echo $dt->toDayDateTimeString(); // Sat, Dec 19, 2015 10:10 AM
// ... of course format() is still available
echo $dt->format('l jS \\of F Y h:i:s A'); // Saturday 19th of December 2015 10:10:16 AM