I have a firebase database:
I am trying to fetch all the date from this database so the user can only select those dates (without HHMMSS, just the YYYYMMDD) available in the db from the datetimepicker. The reason i need this because i will use the datetimepicker as a page filter showing only datas for the selected date.
<ion-item *ngFor="let item of fogasadatok; let i = index">
<ion-datetime displayFormat="YYYY-MM-DD" pickerFormat="YYYY-MM-DD" [(ngModel)]="event.timeStarts"></ion-datetime>
I have no idea how to continue this code, can you show me the way?