Re: Sorting times (SOLVED)

From: Date: Mon, 16 Feb 2009 01:13:17 +0000
Subject: Re: Sorting times (SOLVED)
References: 1 2 3 4 5  Groups: php.general php.general 
Request: Send a blank email to php-general+get-288297@lists.php.net to get a copy of this message
tedd wrote: > At 9:31 PM -0600 2/14/09, Shawn McKenzie wrote: >> >> Yeah, hif I had known that you wanted a function where you loop through >> your array twice, that would have done it. Bravo. > > Shawn: > > I don't see another way. You go through the array converting string to > time (seconds), sort, and then convert back. You have to go through the > array more than once. > > Cheers, > > tedd > The "other way", is the most likely ultra-fast solution I posted. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#288297) next »