title: Bootstrap datetimepicker "dp.change"
body: <p>If I use this, the change function will only fire once at opening. Selecting a different date will not trigger the change function anymore. There are 2 datetimepickers in the form. The first is to set a date and the second has to autofill the same date as the first and the time minus 3 hours. </p>
  
  <pre><code>$("#ed").on("dp.change", function (e) {
      var d = new Date(e.date);
      var month = d.getMonth() + 1;
      var day = d.getDate();
      var year = d.getFullYear();
      var hour = d.getHours() - 3;
      var min = d.getMinutes();
      var setter = day + '-' + month + '-' + year + ' ' + hour + ':' + min;
      $('#re').data("DateTimePicker").defaultDate(setter);
  });
  </code></pre>