Answers for "laravel validation on time"

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

datetime validation in laravel

return [
        'deadline' => 'date_format:Y-m-d H:i:s'
    ];
Posted by: Guest on October-17-2021

Code answers related to "laravel validation on time"

Browse Popular Code Answers by Language