Hi,
How to hide Past Date and time using CJuiDateTimePicker extension,
<?php
$this->widget('CJuiDateTimePicker',array(
'model'=>$model, //Model object
'attribute'=>'from_date', //attribute name
'mode'=>'datetime', //use "time","date" or "datetime" (default)
'options'=>array("dateFormat"=>'yy/mm/dd', 'yearRange' => '-70:+0',
'changeYear' => 'true',
'changeMonth' => 'true',
'maxlength' => '10',
'minDate' => 0,), // jquery plugin options
'language' => '',
));
?>
Below Coding Working fine for to hide past date,I cant hide Past time.
For example,
Present Date : Today time is 10’0 clock means In date time picker User can’t Select 9’0 clock.