datetimepicker datetime picker input widget

  1. Requirements
  2. Usage
  3. Resources

datetime picker input widget, based on Jui-timepicker-addon

Requirements

Yii framework with Zii lib.

Usage

extract to extensions folder.

put next code into view:

<?php Yii::import('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker');
	$this->widget('CJuiDateTimePicker',array(
		'model'=>$news, //Model object
		'attribute'=>'eventDate', //attribute name
                'mode'=>'datetime' //use "time","date" or "datetime" (default)
		'options'=>array() // jquery plugin options
	));
?>

Resources

39 3
40 followers
14 393 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Date and Time
Developed by: Hit Shappens
Created on: May 4, 2011
Last updated: 13 years ago

Downloads

show all

Related Extensions