This question is locked. New answers and comments are not allowed.
Hi,
I have two telerik TimePicker controls as StartTime and EndTime. The time format is set to 24 hours.
In Onchange event of StartTime my EndTime minimum time will be set to selected time of StartTime plus an Interval (for eg: 5 mins) and Max time will be 24 hour minus interval.
For example, if user selects 11:00 hrs in StartTime, the minimum of EndTime should be 11:05 hrs (as interval is 5 minutes). The max time set for EndTime should be 23:55 hrs (that is, 24:00 - 5 mins).
Here my problem is if my interval is 5 minutes then 23:55 is showing two times as max time (see attached image "Case 1"). if I am not setting max time the 0:00 is coming as max time in EndTime (see attached image "Case 2").
Please let me know how to show 23:55 (according to interval) as max time for TimePicker control.
Thanks in advance.
I have two telerik TimePicker controls as StartTime and EndTime. The time format is set to 24 hours.
In Onchange event of StartTime my EndTime minimum time will be set to selected time of StartTime plus an Interval (for eg: 5 mins) and Max time will be 24 hour minus interval.
For example, if user selects 11:00 hrs in StartTime, the minimum of EndTime should be 11:05 hrs (as interval is 5 minutes). The max time set for EndTime should be 23:55 hrs (that is, 24:00 - 5 mins).
Here my problem is if my interval is 5 minutes then 23:55 is showing two times as max time (see attached image "Case 1"). if I am not setting max time the 0:00 is coming as max time in EndTime (see attached image "Case 2").
Please let me know how to show 23:55 (according to interval) as max time for TimePicker control.
Thanks in advance.