title: How to remove time value in datetime-local input type?
body: <p>I am using <code>datetime-local</code> <code>input</code> type in HTML, but I don't want to use the time portion. I want to only get the date.</p>
  
  <pre><code>&lt;input type="datetime-local" name="book_date" id="book_date"&gt;
  </code></pre>
  
  <p>This is the output I get from the <code>input</code> field:</p>
  
  <pre><code>2018-04-22T03:02
  </code></pre>
  
  <p>I want:</p>
  
  <pre><code>2018-04-22
  </code></pre>
  
  <p>Or how to remove the time portion from this value?</p>