bootstrap datetimepicker onchange event

To handle the onchange event for the Bootstrap datetimepicker, you can use the following code:

$('#datetimepicker').datetimepicker().on('change', function(e) {
    // Your code here
});

In this code snippet, #datetimepicker is the ID of the datetimepicker element. You can replace it with the ID or selector of your datetimepicker element.

Inside the event handler function, you can write your code to handle the change event. This code will be executed whenever the datetimepicker value changes.

That's it! This code will allow you to handle the onchange event for the Bootstrap datetimepicker.