laravel check if date format is correct code example Example: laravel validate date 'day' => 'required|date',