I wonder why the date defaults to mm/dd/yyyy
format in the html input type field? It works like this in Chrome, Edge and Firefox.
<input type='date' name='$key' value='$val'><br>
Is there a simple way to change this into dd/mm/yyyy
or yyyy/mm/dd
, which seems more logical to me?