title: How to I set min and max value for Input with type='datetime-local'?
body: <blockquote>
    <p>SOLVED</p>
  </blockquote>
  
  <p>Hi, i have an input field which should send a value to mysql and I want to set max and min value to predict a date range the user can select from.</p>
  
  <p>This input is a datetime-local field, because i want him to select the time as well.</p>
  
  <p>I know how to set it for date, but can't get it to work. Maybe i miss a thing?</p>
  
  <p>Here is my <a href="https://jsfiddle.net/kqxvdyn8/" rel="noreferrer">fiddle</a></p>
  
  <pre><code>  &lt;label&gt;This is datetime-local&lt;/label&gt;
  
  &lt;input type='datetime-local' min='2017-06-14 00:00:00' max='2017-06-16 00:00:00'&gt;
  
    &lt;label&gt;This is date&lt;/label&gt;
  
  &lt;input type='date' name="date" min="2017-06-14" max="2017-06-16"&gt;
  </code></pre>