bootstrap-datetimepicker is a datepicker widget by tarruda that uses Twitter's bootstrap library. For a regular datepicker, see the [bootstrap-datepicker] tag. For the Eonasdan datetimepicker please use the [eonasdan-datetimepicker] tag.
bootstrap-datetimepicker is a datepicker widget that uses Twitter's bootstrap library. It provides a calendar popup for selecting dates and times when users click on input elements.
Tarruda's no longer being maintained:
The new repo is:
And here is a web site with manuals and demos:
Stack Snippet Starter Pack:
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.css" rel="stylesheet"/>
<link href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.7.14/css/bootstrap-datetimepicker.css" rel="stylesheet"/>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.1/moment.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.7.14/js/bootstrap-datetimepicker.min.js"></script>
<div class='input-group date' id='datetimepicker1'>
<input type='text' class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
$(function () {
$('#datetimepicker1').datetimepicker();
});