I am using bootstrap date time picker in my web application, made in PHP/HTML5 and JavaScript. I am currently using one from here: http://tarruda.github.io/bootstrap-datetimepic
I tried all of the solutions posted here but none of them worked for me. I managed to disable the time by using this line of code in my jQuery:
$('#datetimepicker4').datetimepicker({ format: 'YYYY-MM-DD' });
This set the format to date only and disabled the time completely. Hope this helps.