Answers for "how to check date time format in larave;"

PHP
5

Date time format for laravel validation

$request->validate([
        'start_date' => 'date_format:d/m/Y',
        'end_date' => 'date_format:d/m/Y'
    ]);
Posted by: Guest on May-07-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 date time format in larave;"

Browse Popular Code Answers by Language