Time Range
<button id="btnShowDemo">Show Demo</button>
<?php echo YsUIDialog::initWidget('dialogId','style="display:none" title="Basic dialog"') ?>
<?php echo YsUIDateTimepicker::input('datepickerId') ?>
<?php echo YsUIDialog::endWidget() ?>
<?php
echo
YsJQuery::newInstance()
->onClick()
->in('#btnShowDemo')
->execute(
YsUIDialog::build('#dialogId')
->_modal(true)
->_buttons(array(
'Ok' => new YsJsFunction('alert("Hello world")'),
'Close' => new YsJsFunction(YsUIDialog::close('this')))
),
YsUIDateTimepicker::datetimepicker('#datepickerId')
->_ampm(true)
->_hourMin(8)
->_hourMax(17)
)
?>

Support requests, bug reports, and off-topic comments will be deleted without warning.