As you see in the code, i want to let users select the time between opening and closing time (min.max), but its not working, it\'ll take all time entered and some times it\'