Answers for "validate only dateformat from datetime format in 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

Code answers related to "validate only dateformat from datetime format in laravel"

Browse Popular Code Answers by Language