Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Date time format for laravel validation

 $request->validate([
        'start_date' => 'date_format:d/m/Y',
        'end_date' => 'date_format:d/m/Y'
    ]);
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #Date #time #format #laravel #validation
ADD COMMENT
Topic
Name
5+5 =