$("[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/