Answers for "what format birthdate in laravel"

PHP
5

datetime format laravel

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

//laravel method 2 
{!! date('d/M/y', strtotime($data->created_at)) !!}
Posted by: Guest on August-08-2020
-1

date format change in laravel blade

{{date_format($data->con_date_maintained,'D M Y')}}

{{ $data->con_wash_start_date == null ? date_format($data->con_date_maintained,'D M Y') : "-" }}
//$uj@y
Posted by: Guest on November-23-2020

Code answers related to "what format birthdate in laravel"

Browse Popular Code Answers by Language