1//laravel method 1
2{{ $data->created_at->isoFormat('dddd D') }}
3
4//laravel method 2
5{!! date('d/M/y', strtotime($data->created_at)) !!}
1date('d-m-Y', strtotime($user->from_date));
2/**
3or
4**/
5date_format($user->from_date,'D M Y')
1{{\Carbon\Carbon::createFromFormat('H:i:s',$time)->format('h:i')}}
2
3{{$item->date_seance->format('d/m/Y') }}
4
5{{date('H:i', strtotime($item->start_time)) }}
1{{ $post->created_at->diffForHumans() }}
2 /*
3 //Output
4 Arya Stuck 14 minutes ago
5 Post something
6
7 Mizan Khan 23 hours ago
8 Post something
9 */