<div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 mb-2">
<mat-form-field class="example-full-width" appearance="outline">
<mat-label>Follow up Consultation</mat-label>
<input matInput [matDatepicker]="picker"
formControlName="consultationDate">
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
<mat-datepicker #picker></mat-datepicker>
</mat-form-field>
This is my code, I am working on an angular app related to medical. When I pick a date from the calendar icon, it picks the exact date. But when I click on proceed order button, the date I see is one day back whatever date I select. How to solve this Issue