I have a column in the database type date
.
WhenIchangesomedateinaformphp
andleaveitblankthesameinsteadofbeingblankitbringsmebacktodatewith1900-01-01
.
BelowistheinputIusetochangethedate.
DateOutput:
<inputtype="date" id="saida" name="saida" value="<?php echo $datasaida; ?>"/>
I think the problem is the bank. Any idea?