index.html
<ion-row style="margin-top: 20px; ">
<ion-col size="4">
<ion-label style="color: blue; ">Session Time 1:</ion-label>
</ion-col>
<ion-col size="3">
<ion-datetime class="time-range" (ionChange)="setTime(1)" displayFormat="HH:mm" [(ngModel)]="start1" min="09:00" max="23:00" hourValues="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0 " minuteValues="0,30 " placeholder="Select time "></ion-datetime>
</ion-col>
<ion-col size="1">
<ion-label class="blue"> To</ion-label>
</ion-col>
<ion-col size="3">
<ion-datetime class="time-range" (ionChange)="setTime(1)" displayFormat="HH:mm" [(ngModel)]="end1" min="09:00" max="23:00" hourValues="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0 " minuteValues="0,30 " placeholder="Select time "></ion-datetime>
</ion-col>
</ion-row>
<ion-row style="margin-top: 20px; ">
<ion-col size="4">
<ion-label style="color: blue; ">Session Time 2:</ion-label>
</ion-col>
<ion-col size="3">
<ion-datetime class="time-range" (ionChange)="setTime(2)" displayFormat="HH:mm" pickerFormat="HH:mm" [(ngModel)]="start2" min="09:00" max="23:00" hourValues="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0 " minuteValues="0,30 " placeholder="Select time "></ion-datetime>
</ion-col>
<ion-col size="1">
<ion-label class="blue"> To</ion-label>
</ion-col>
<ion-col size="3">
<ion-datetime class="time-range" (ionChange)="setTime(2)" displayFormat="HH:mm" pickerFormat="HH:mm" [(ngModel)]="end2" min="15:00" max="23:00" hourValues="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0 " minuteValues="0,30 " placeholder="Select time "></ion-datetime>
</ion-col>
</ion-row>
<ion-row style="margin-top: 20px; ">
<ion-col size="4">
<ion-label style="color: blue; ">Session Time 3:</ion-label>
</ion-col>
<ion-col size="3">
<ion-datetime class="time-range" (ionChange)="setTime(3)" displayFormat="HH:mm" [(ngModel)]="start3" min="17:00" max="23:00" hourValues="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0 " minuteValues="0,30 " placeholder="Start "></ion-datetime>
</ion-col>
<ion-col size="1">
<ion-label class="blue"> To</ion-label>
</ion-col>
<ion-col size="3">
<ion-datetime class="time-range" (ionChange)="setTime(3)" displayFormat="HH:mm" [(ngModel)]="end3" min="09:00" max="23:00" hourValues="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0 " minuteValues="0,30 " placeholder="End "></ion-datetime>
</ion-col>
</ion-row>