I have use Eonasdan/bootstrap-datetimepicker version : 4.17.47, now explain scenario when I open bootstrap-datetimepicker from text box & selected date after that I have one clear button onclick I have clear that value, but when I am going back to open datetimepicker its shows previously selected date as highlighted. So issue is datetimepicker is not reset, I want to reset that datetime picker on cancel click external JavaScript call.

I have use below but non of them is working



And also if I have two datetimepicker like fromdate to todate it’s not working.