Ion-datetime component - Choose range between 5:30 pm to 9:30 pm only

Hi,

I would like to use the ion-datetime to let the user choose only a range between 5:30 pm to 9:30 pm only. And only 0 or 30 minutes.

Is it possible? How?

Thank you.

set in datetime input:
hourValues="17,18,19,20,21"
minuteValues=“0,30”

Thank you for your help, but the option to choose AM is still there. :frowning:
What should I do?

displayFormat=“h:mm” pickerFormat=“h mm”

1 Like

Yes, it works!

Thank you @bea!