I would like to insert a datetimepicker or just a timepicker using bootstrap on a form in my web project. Only the datepicker is working. here is my code.
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
<script type="text/javascript">
$(function () {
$('#datepicker').datepicker();
});
</script>
<div class="form-group">
<label for="dateDebutGlacage">DateDebutGlacage</label>
<f:input class="form-control" path="dateDebutGlacage" id="datepicker" type="text" placeholder="DateDebutGlacage"></f:input>