<?php
namespace frontend\controllers;
use Yii;
use yii\web\Controller;
class IndexController extends Controller
{
public function actionIndex(){
return $this->render('index');}
}
<?=
yii\jui\DatePicker::widget(['name'=>'attributeName'])
?>