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'
    ]);
 
PREVIOUS NEXT
Tagged: #Date #time #format #laravel #validation
ADD COMMENT
Topic
Name
3+8 =