Re: Sorting times (SOLVED)
| From: | tedd | Date: | Sun, 15 Feb 2009 13:54:54 +0000 |
| Subject: | Re: Sorting times (SOLVED) | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288279@lists.php.net to get a copy of this message | ||
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 -- ------- http://sperling.com http://ancientstones.com http://earthstones.com