skip to Main Content

Can PHP get the lowest element in an array with a value ≥ X?

I have a specific array with the following data: time_plan = ['06:00:00', '06:20:00', '06:40:00', '07:00:00', '07:20:00', '07:40:00', '08:00:00', '08:20:00', '08:40:00', '09:00:00', '09:25:00', '09:50:00', '10:15:00', '11:05:00', '11:30:00', '12:20:00', '12:45:00', '13:35:00', '14:00:00', '14:50:00', '15:15:00', '15:40:00', '16:05:00', '16:25:00', '16:45:00', '17:05:00', '17:25:00', '17:45:00', '18:05:00',…

VIEW QUESTION
Back To Top
Search