johnsmith153 Posted August 21, 2010 Share Posted August 21, 2010 I need to find the earliest and latest times, but there must be at least 3 to count it. $array[] = "09:00 - 15:00" $array[] = "09:00 - 15:00" $array[] = "09:00 - 15:00" $array[] = "09:00 - 17:00" $array[] = "09:00 - 15:30" $array[] = "07:30 - 15:00" $array[] = "07:00 - 12:00" So the above would return 09:00 - 15:00 I thin would need to ensure that a maximum 4 hours inbetween, so I then get something like 10:00 - 14:00 returned Link to comment https://forums.phpfreaks.com/topic/211386-find-earliest-and-latest-times-in-an-array-but/ Share on other sites More sharing options...
AbraCadaver Posted August 21, 2010 Share Posted August 21, 2010 Sorry, that makes no sense to me, you'll have to give a more detailed explanation. Link to comment https://forums.phpfreaks.com/topic/211386-find-earliest-and-latest-times-in-an-array-but/#findComment-1102189 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.