Ion-datetime picker current date

#1

Hi Guys quick question in here: This is my scenario :

  • Ionic v4

item.StartTime = null

  <ion-datetime  disabled="{{iProService.readonly}}" class="input-style"  picker-format="MM/DD/YYYY HH:mm" display-format="HH:mm" placeholder=" - Select - "
                [(ngModel)]="item.StartTime"  #dateStartTime  (ionChange)="updateProviderTime(item)">
              </ion-datetime>

I wanted to show today’s date on the picker , but I can’t use the ngmodel since I depend on that date in order to save the data. Any idea how to achieve this in here ?