datetimepicker time control

a small example
$("[name='datetimepicker']").datetimepicker({
	        format: "hh:ii", //date format
	        autoclose: true, // Whether to close this datetime picker immediately after selecting a date.
	        //showMeridian:true, appears AM, PM
	       // todayBtn: true, //whether the today button appears
	        minView:'hour', //The most accurate time selection view that the date and time picker can provide.
	        startView:'day', //The view displayed first after the datetime picker is opened.
	        minuteStep : 1, //This value is used as the step value to build the hour view
	        pickerPosition: "bottom-left"
	    });

Detailed configuration:
http://www.bootcss.com/p/bootstrap-datetimepicker/

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326800447&siteId=291194637
Recommended