HTML <input type="date" name="ff" [value]="setFechaP(ff)" [(ngModel)]="ff" class="form-control form-control-sm text-center">
TS import { formatDate } from '@angular/common';
setFechaP(ff:any){if(ff){ff=formatDate(new Date(ff).getTime(),'yyyy-MM-dd','en','+00');}}