I have a string array that stores a bus interval for each day like this
eg. ["6:30", "6:45", "7:00", "7:15", "7:30", "7.45"..................]
I want the program to find the nearest times from the array for that day and the time on the system.
eg. in above string array say my system time is 7:35 then it should display 7:30 and 7:45 as nearest times