Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

datetime format laravel

//laravel method 1
{{ $data->created_at->isoFormat('dddd D') }}

//laravel method 2 
{!! date('d/M/y', strtotime($data->created_at)) !!}
 
PREVIOUS NEXT
Tagged: #datetime #format #laravel
ADD COMMENT
Topic
Name
2+5 =