I have html form with the following input:
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Início:</label>
<div class="col-md-4">
<input id="inicioEvento" name="inicioEvento" class="form-control input-md" type="datetime-local">
</div>
</div>
My problem is to convert the result of formMap.get ("startEvent"), which returns a String and convert it to the Date type, since in the Event class, the start attribute is of type Date, Start).
Q: I'm a beginner.