title: How can I get the current time when the timepicker is clicked?
body: <p>My code looks like this:</p>
  
  <pre><code>  // TIME
    $('#timepicker').datetimepicker({
      minDate: minTime,
    })
  
      .on('dp.show', function(e){
      console.log(selectedDate);
      if($(this).val()==""){
        $(this).val(minTime.format("HH:mm"));
      }
  
      // If the date is not selected yet, Nothing to do... Onload min date applies
      if( typeof(selectedDate) == "undefined" ){
        console.log("Date undefined");
  
        // If a date is selected, check if it's the same date as the min date
      }else if( selectedDate == minDate.format("YYYY-MM-DD")){
        console.log("Date defined - SAME");
        $(this).data("DateTimePicker").minDate(minTime);
  
        // If the date is different from the min date
      }else{
        console.log("Date defined - Different");
        $(this).data("DateTimePicker").minDate(false);
      }
    })
      .val("");
  </code></pre>
  
  <p>Demo and full code like this : <a href="https://jsfiddle.net/oscar11/t0z3td1u/4/" rel="nofollow noreferrer">https://jsfiddle.net/oscar11/t0z3td1u/4/</a></p>
  
  <p>It seems my code is still not perfect. <code>minTime</code> is taken from the first time the fiddle executed. 
  It should be taken when the timepicker is clicked. For example I run your jsfidde at 15.00. After 5 minutes, I choose timepicker, the result is fixed at 20.00. Should be at 20:05.</p>
  
  <p>How can I do it so that I can get the current time when the timepicker is clicked?</p>