This code works for me by calling an input and displaying the date in chrome but in firefox it does not work:
<div class='input-group date'>
<input type='text' id="date_ex" name="date_emi" class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar">
</span>
</span>
</div>
$(function () {
$(".date").datetimepicker({
startView: 2,
minView: 2,
forceParse: 0,
view: 'years',
format: 'yyyy-mm-dd'
});
});
By giving f12
in