Questions tagged [eonasdan-datetimepicker]

A Bootstrap-based is a date/time picker widget by Eonasdan that uses Twitter's bootstrap library. For just a datepicker, see the [bootstrap-datepicker] 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. For more see https://github.com/Eonasdan/bootstrap-datetimepicker

Stack Snippet Starter Pack:

<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet"/>
<link href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/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.7/js/bootstrap.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/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();
});
305 questions
-1
votes
2 answers

Bootstrap Date Time picker is not working

I have been trying to use the bootstrap Date and time picker. I dont know whats wrong with the code. though its very simple. I tried to include the datepicker jar manually and with CDN. Still its not working. Can any body help me with…
-2
votes
1 answer

Keyboard navigation disabled in viewMode bootstrap datetimepicker

When I set viewMode option to 'years', I can't use keyboard keys to navigate between years, and even when I press enter key on the default selected year, the widget is automatically closed while it should move to 'months' viewMode then 'days'…
-2
votes
1 answer

How to disable date field in Eonasdan bootstrap datetimepicker?

I would like to use Eonasdan bootstrap datetimepicker Version 4 for my project. The requirement is to find a time range. My question is : - is it possible to have range between 2 time without the date (in other word, disable the date and only have…
-3
votes
1 answer

How to get value dd/mm/yyyy to mm/dd/yyyy in eonasdan bootstrap datetimepicker

I want to get value input(text) tag : dd/mm/yyyy and convert this value is : mm/dd/yyyy and send server.
-4
votes
2 answers

This is not working in chrome only. Bootstrap Datetimepicker

Bootstrap Datetimepicker not working in chrome browser only. if we navigate to other tab or inspect the web page it works. https://jsfiddle.net/Venkatesh_srikanth/e2mwv05v/11/ [Fiddle: My Bootstrap Datetimepicker Code][1]
1 2 3
20
21