title: How to change date format in html from mm-dd-yyyy to dd-mm-yyyy?
body: <p>My problem is how to input date in HTML form in this format 21-01-1999 and not in this format 01-21-1999? 
  When I write this HTML code</p>
  
  <pre><code>&lt;input name = "dPregled" id="dat" type="date" required="required" /&gt;
    &lt;/p&gt;
  </code></pre>
  
  <p>it gives me mm-dd-yyyy format for input.
  Also is there a way to automatically take today's date in a form?</p>
  
  <p>I have been researching for an answer everywhere but I can not find it. 
  Thank u so much.</p>