I have the following datepicker
<mat-form-field>
<input matInput [matDatepicker]="picker" placeholder="Hoy">
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
<mat-datepicker #picker></mat-datepicker>
</mat-form-field>
and I need to collect the value of the date to be able to store it later in a base de datos
.