Do you know guys how display the date value from database to datetimepicker field?
the example value from database is 2022-10-31
<div class="input-group date" id="allDay" data-target-input="nearest">
<input type="text" id="all-value" name="all_day"
class="form-control datetimepicker-input" data-target="#allDay"
value="" />
<div class="input-group-append" data-target="#allDay" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>
</div>
js
$('#allDay,#startLongDay,#endLongDay').datetimepicker({
format: 'L',
minDate: new Date()
});