I would like to use Eonasdan bootstrap datetimepicker Version 4 for my project.
The requirement is to find a time range. My question is : - is it possible to have range between 2 time without the date (in other word, disable the date and only have the time range).
Your help is very much appreciated. Thanks.
You can use the component as a timepicker using
format: HH:mm
. You can limit selectable time usingdisabledTimeIntervals
.Here a working example disabling time from 0 to 8 and from 15 to 18: