title: jQuery set current Date to input type="datetime-local"
body: <p>I have the following html</p>
  
  <pre><code>&lt;input type="datetime-local" id="startDate"&gt;
  </code></pre>
  
  <p>with the default format: <code>dd.mm.yyyy mm:hh</code></p>
  
  <p>I would like to set it`s default value to the current local time of my client with jQuery.</p>
  
  <p>So far I have tried different solutions on this page but nothing worked.</p>
  
  <p>For example</p>
  
  <pre><code>$("#startDate").val(new Date().getTime() / 1000 | 1);
  $("#startDate").val(new Date().toDateString());
  </code></pre>
  
  <p>Can you please help me?</p>