how to set the format in carbon code example
Example 1: php carbon get timestamp
Carbon::now()->timestamp
Example 2: datetime format laravel
//laravel method 1
{{ $data->created_at->isoFormat('dddd D') }}
//laravel method 2
{!! date('d/M/y', strtotime($data->created_at)) !!}