DatetimePicker
$('#datetimepicker').datetimepicker({ format: 'yyyy-mm-dd hh:ii'});
Blue-eyed Bee
$('#datetimepicker').datetimepicker({ format: 'yyyy-mm-dd hh:ii'});
$('#datetimepicker').datetimepicker('setEndDate');$('#datetimepicker').datetimepicker('setEndDate', null);
<script type="text/javascript" src="bootstrap-datetimepicker.de.js" charset="UTF-8"></script>
$('#datetimepicker').datetimepicker('setStartDate', '2012-01-01');
$('#datetimepicker').datetimepicker('setDaysOfWeekDisabled', [0,6]);
$('#date-end').datetimepicker().on('changeDate', function(ev){ if (ev.date.valueOf() < date-start-display.valueOf()){ .... }});
$('#datetimepicker').datetimepicker('remove');
<div id="datetimepicker"></div>
$('#datetimepicker').datetimepicker('hide');
$('#datetimepicker').datetimepicker('setEndDate', '2012-01-01');