title: JQuery date time picker add 5 hours for current time
body: <p>I need two datetime pickers. In the first picker I need current date and time and in another picker I want to add 5 hours from current time. I tired with below code in jsfiddle. First picker working but second not working properly.</p>
  
  <pre><code>$(function() {
      $('#datepicker').datepicker({
          dateFormat: 'yy-dd-mm',
          onSelect: function(datetext){
              var d = new Date(); // for now
              datetext=datetext+" "+d.getHours()+": "+d.getMinutes();
              $('#datepicker').val(datetext);
          },
      });
      });
      $(function() {
      $('#datepicker1').datepicker({
          dateFormat: 'yy-dd-mm',
          onSelect: function(datetext){
              var d = new Date();
  
              // for now
              datetext=datetext+" "+d.setHours(d.getHours())+": "+d.setMinutes(d.getMinutes());`enter code here`
              $('#datepicker1').val(datetext);
          },
      });
      });
  </code></pre>