New version

Add method show and hide
$('#datetimepicker4').datetimepicker('show');
$('#datetimepicker4').datetimepicker('hide');