Greetings I'm trying to make an application for personnel control more than anything to be able to keep in what date I enter and in what date its contract ends and to keep its date of birth I have found much information on the datepicker.
It will sound silly but I prefer to ask you to stay with the doubt. How could I put a date picker on a form where the user can choose the dates they want. and how would such data be received in the php data insertion format?
Here I show you the code of how I am capturing this data what I do not remember is if when passing the info to the next module it is necessary to change the format or I can save directly
<label for="fechalta">Fecha de Alta</label>
<input type="date" name="fechainicio" step="1" min="2018-01-01" max="2018-12-31" value="<?php echo fechalta;?>">