title: How to change date format in html
body: <p>In HTML, I am date type, but it's giving me yyyy-mm-dd. I want to use dd-mm-yyyy format.
  Can anyone give me a suggestion?</p>
  <pre><code>&lt;fieldset style = &quot;font-size:15px;&quot;&gt;
          &lt;input type=&quot;date&quot; name = &quot;fromdate&quot; placeholder = &quot;FROM: DD-MM-YYYY&quot; /&gt;
        &lt;/fieldset&gt;
           {% comment %} &lt;option value=&quot;2P&quot;&gt;2P&lt;/option&gt; {% endcomment %}
           &lt;fieldset style = &quot;font-size:15px;&quot;&gt;
            &lt;input type=&quot;date&quot; name = &quot;todate&quot; placeholder = &quot;FROM: DD-MM-YYYY&quot; /&gt;
          &lt;/fieldset&gt;
  </code></pre>