1
Good morning, I made a contact form and put one but when I put the date right example: 31/08/2017, I click to send the date comes as: 2017/08/31, I would like to leave as standard Brazil.
My input:
<input type="text" onfocus="(this.type='date')" name="datadenascimento" id="datadenascimento" class="gui-input" placeholder="Data de Nascimento">
The string that makes the upload:
$datadenascimento = strip_tags(trim($_POST["datadenascimento"]));
Just a tip. Most recommended is to use Trim(strip_tags($_POST["dated"]));
– Lucas de Carvalho