Researching, I found the solution to this problem. I solved it using the Bundle:
link
It's a Bundle that supports Symfony 3.2.x and has very good documentation
The final code that shows in the form the calendar as I wanted is this:
<?php
// ...
use SC\DatetimepickerBundle\Form\Type\DatetimeType;
public function buildForm(FormBuilder $builder, array $options)
{
$builder
// full options
->add('date', DatetimeType::class, array( 'pickerOptions' =>
array('format' => 'mm/dd/yyyy',
'weekStart' => 0,
'startDate' => date('m/d/Y'),
'autoclose' => true,
'startView' => 'month',
'minView' => 'month',
'maxView' => 'decade',
'todayBtn' => false,
'todayHighlight' => false,
'keyboardNavigation' => true,
'language' => 'es',
'forceParse' => true,
'showMeridian' => false,
))) ;
}
Greetings