How to add date picker in yii forms?
<p>I'm try to add a date picker to my ActiveForm.</p>

<pre><code>&lt;?=$form-&gt;field($model, 'date_of_birth')?&gt;
</code></pre>

<p>I also try this way</p>

<pre><code>&lt;?=$form-&gt;field($model,'date_of_birth')-&gt;widget(DatePicker::className()?&gt;
</code></pre>

<p>It gives me the error: <code>yii\jui\DatePicker not found</code>.<br>
At the top of my code, I include <code>use yii\jui\DatePicker;</code> but its not work.  </p>

<p>Please help me solve this problem.</p>