kartik datepicker
$form->field($model, 'attribute')->widget(kartikdateDatePicker::classname(), [
'pluginOptions' => [
'autoclose' => true,
'format' => 'yyyy-mm-dd',
'todayHighlight' => true
]
]);