validator date laravel code example
Example 1: laravel date validation
'dob' => 'required|date_format:Y-m-d|after_or_equal:1920-01-01'
Example 2: laravel validate date
'day' => 'required|date',
'dob' => 'required|date_format:Y-m-d|after_or_equal:1920-01-01'
'day' => 'required|date',