JSFiddle - React, Tailwind, and code Playground
by bassvix
HTML
<link rel="stylesheet" href="http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.css">
<script src="http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js"></script>
<script src="http://trentrichardson.com/examples/timepicker/jquery-ui-sliderAccess.js"></script>
<div>
<input class="hasDatepicker" name="slider_example_4" id="slider_example_4" value="" type="text">
</div>
JavaScript
$('#slider_example_4').datetimepicker({
controlType: 'select',
timeFormat: 'hh:mm tt'
});