I have an element in html5:
<input class="form-control" #semana="ngModel" name="semana" [(ngModel)]="detalle.semana" type="week">
The value I get is a string "2018-W23" for example. What I want is to get the value in date or number entered to perform operations on it (add or subtract days) and save it in my database.
I am working with Angular 5, JAVA spring and MySQL