Answers for "validate datetime laravel"

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
1

datetime validation in laravel

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

laravel validate date

'day'            =>  'required|date',
Posted by: Guest on January-25-2021

Browse Popular Code Answers by Language