how to defind date funtion in blade code example
Example 1: format date laravel timestamp view
date('d-m-Y', strtotime($user->from_date));
/**
or
**/
date_format($user->from_date,'D M Y')
Example 2: 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