Answers for "how to check the format of date laravel"

PHP
5

laravel blade date format

//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
0

laravel date format valdiate

'date_format:d/m/Y';
Posted by: Guest on March-18-2021

Code answers related to "how to check the format of date laravel"

Browse Popular Code Answers by Language