I have a datetimepicker widget in my code and i'd like to allow the selectable dates to start from 12hours after today's date. How can I do that please?
<?php echo DateTimePicker::widget([
'model'=>$model,
'attribute' => 'start_time',
// 'attribute' => 'a_start_date',
'name'=>'start_time',
'type' => DateTimePicker::TYPE_COMPONENT_PREPEND,
'options' => ['placeholder'=> 'Enter start time...'],
'pluginOptions' => [
'autoclose' => true,
//'format' => 'dd/mm/yyyy HH:ii'
'format' => 'dd/mm/yyyy hh:ii:00',
'weekStart'=>1,
'startDate' => "+1d",
]
]); ?>