Good morning, I made a contact form and I put one but when I put the date right example: 08/31/2017, I click to send the date comes as: 2017/08/31, I would like to leave as default of Brazil .
My input:
<input type="text" onfocus="(this.type='date')" name="datadenascimento" id="datadenascimento" class="gui-input" placeholder="Data de Nascimento">
The sending string:
$datadenascimento = strip_tags(trim($_POST["datadenascimento"]));