export class AppComponent {now = new Date(); } · {{now | date}}. The above code will apply the date pipe to the input date, in our case now. · {{ ...
確定! 回上一頁