Date Picker
Lightweight, powerful javascript datetimepicker with no dependencies.
Documentation for FlatpickrDate Picker
<label class="form-label" for="datepicker">Start Date</label>
<input class="form-control datetimepicker" id="datepicker" type="text" placeholder="dd/mm/yyyy" data-options='{"disableMobile":true,"dateFormat":"d/m/Y"}' />
Time Picker
<label class="form-label" for="timepicker1">Start Time</label>
<input class="form-control datetimepicker" id="timepicker1" type="text" placeholder="hour : minute" data-options='{"enableTime":true,"noCalendar":true,"dateFormat":"H:i","disableMobile":true}' />
Date Time Picker
<label class="form-label" for="datetimepicker">Start Date</label>
<input class="form-control datetimepicker" id="datetimepicker" type="text" placeholder="dd/mm/yyyy hour : minute" data-options='{"enableTime":true,"dateFormat":"d/m/y H:i","disableMobile":true}' />
Range
<label class="form-label" for="timepicker2">Select Time Range</label>
<input class="form-control datetimepicker" id="timepicker2" type="text" placeholder="d/m/y to d/m/y" data-options='{"mode":"range","dateFormat":"d/m/y","disableMobile":true}' />
Stylesheet
<pre><code class="language-html"><link href="vendors/flatpickr/flatpickr.min.css" rel="stylesheet" /></code></pre>
<link href="vendors/flatpickr/flatpickr.min.css" rel="stylesheet" />
Javascript
<pre><code class="language-html"><script src="assets/js/flatpickr.js"></script></code></pre>
<script src="assets/js/flatpickr.js"></script>