Questions tagged [bootstrap-datetimepicker]

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();
});
754 questions
5
votes
6 answers

Datetimepicker unable to select the todaydate

Datetimepicker unable select today's date.Suppose When we open the datetimepicker and change the date and select the today date it is not selected.And we used the Bootstarp…
vamsi kr
  • 431
  • 1
  • 4
  • 13
5
votes
3 answers

defaultDate and minDate with Bootstrap Datetimepicker

I want a picker to be set to a month in the future by default. This works fine: