PHP code example of pheme / yii2-jui-timepicker
1. Go to this page and download the library: Download pheme/yii2-jui-timepicker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pheme / yii2-jui-timepicker example snippets
<?= $form->field($model, 'datetime')->widget(\pheme\jui\DateTimePicker::className())
<?= $form->field($model, 'time')->widget(\pheme\jui\DateTimePicker::className(), ['timeOnly' => true])
php composer.phar