Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel validate datetime with datetime-local

$this->validate($request, ['my_date' => 'date_format:Y-m-dTH:i']);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #validate #datetime
ADD COMMENT
Topic
Name
6+2 =