I tried the following but it does not work
<form action="add.php" method="POST" name="form1">
<div class="w3-section">
<label>Nome do funcionario</label>
<input class="w3-input w3-border" placeholder="Nome" type="text" name="name" required>
</div>
<div class="w3-section">
<label>Horario</label>
<input class="w3-input w3-border" placeholder="Hora" type="text" name="hora" required>
</div>
<div class="w3-section">
<label>Data</label>
<input class="w3-input w3-border" value="<?php echo date('d/m/Y');?>" type="date" name="data" required>
</div>
<button type="submit" class="w3-button w3-padding-large w3-green w3-margin-bottom">Adicionar <i class="fa fa-plus"></i></button>
</form>
it ignores the value part