我想在打字稿上减去一年的日期,这是我的html:
Date
这是我班上的代码:
<input type="date" [value]="date" (change)="date=$event.target.value" class="form-control" />
datetimepicker typescript angular
angular ×1
datetimepicker ×1
typescript ×1