Answers for "laravel validation for date format"

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

invalid datetime format laravel

change format to Y-m-d and for datetime is Y-m-d H:i:s
Posted by: Guest on April-26-2020

Code answers related to "laravel validation for date format"

Browse Popular Code Answers by Language