Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel end date greater than start date validation

$validator = Validator::make($data, [
    'start_date'    => 'required|date',
    'end_date'      => 'required|date|after_or_equal:start_date',
]);
 
PREVIOUS NEXT
Tagged: #laravel #date #greater #start #date #validation
ADD COMMENT
Topic
Name
8+9 =