4
For this it is sufficient that the content of the variable $Dtsaida is in YYYY-MM-DD format see example below:
<p>Data Saída:</p><input type="date" maxlength="10" id="saida" name="saida" value="2016-01-16"/>
Considering your result you need to remove the minutes from the print for such try something similar to this: echo
<p>Data Saída:</p><input type="date" maxlength="10" onkeypress="return dateMask(this, event);" id="saida" name="saida" value="<?php date_format($DtSaida, 'Y-m-d'); ?>"/>
edits the question and puts the value that is in $Dtsaida
– Bia
Okay, it’s redacted.
– KevinF
use the American date format
– Bia