By default input date picker shows MM-DD-YYYY in html.
<input type="date" id="gdatum" />
Is there a way to change the mask to DD-MM-YYYY?
By default input date picker shows MM-DD-YYYY in html.
<input type="date" id="gdatum" />
Is there a way to change the mask to DD-MM-YYYY?
The format is YYYY-MM-DD. You cannot change it.
$('#myinput').val('2013-12-31'); sets value