Is there a way to destroy the Bootstrap datepicker dynamically updating its options like format, beforeShowDay, etc.?
I know that the jQuery UI datepicker has a destroy method b
Make sure you have your date picker object in DOM before removing it.
Without removing you can hide the calendar and change the format of date and update it .