How to set a Current Time in Time Picker as default?

  angular, html, javascript

.HTML

<input type="time" [(ngModel)]="time">

.TS

  time;

  constructor() {

    this.time= new Date();
  }

I want to show the current date in time picker. I tried above way, Its not work

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.