Answers for "format date time of created_at in laravel to 12 hour format"

PHP
1

format time laravel

{{\Carbon\Carbon::createFromFormat('H:i:s',$time)->format('h:i')}}

{{$item->date_seance->format('d/m/Y') }}

{{date('H:i', strtotime($item->start_time)) }}
Posted by: Guest on February-20-2021

Code answers related to "format date time of created_at in laravel to 12 hour format"

Browse Popular Code Answers by Language