title: Set max and min datetime in jquery datetimepicker
body: <p>I am using jquery datetimepicker.In which i want to set mindate and time which is the value selected in second datetimepicker. </p>
  
  <p>What i tried is :</p>
  
  <pre><code>$('#date_start').datetimepicker({
          autoSize: true,
          changeYear: true,
          changeMonth: true,
          buttonImageOnly: true,
          onSelect: function (selected) {
               $('#date_end').datetimepicker("option", "minDate", selected);
          }
      });
  </code></pre>
  
  <p>I refered this <a href="https://stackoverflow.com/questions/37156602/jquery-datetimepicker-set-max-datetime">Jquery - DateTimePicker set max datetime</a> link.But its not a clear solution for my issue. </p>
  
  <pre><code>$('#date_end').datetimepicker({
          autoSize: true,
          changeYear: true,
          changeMonth: true,
          buttonImageOnly: true,
          onSelect: function (selected) {
              $('#date_start').datetimepicker("option", "maxDate", selected);
          }
      });
  </code></pre>
  
  <p>Actually this same code is working for only  datepicker.But if i want it to work in datetimepicker.</p>
  
  <p>What is the solution?</p>