Sorting times
| From: | tedd | Date: | Sat, 14 Feb 2009 21:07:46 +0000 |
| Subject: | Sorting times | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-288268@lists.php.net to get a copy of this message | ||
Hi gang:
Anyone have/know a routine that will sort an array of times?
For example, a function that would take an array like this:
time[0] ~ '1:30pm'
time[1] ~ '7:30am'
time[2] ~ '12:30pm'
and order it to:
time[0] ~ '7:30am'
time[1] ~ '12:30pm'
time[2] ~ '1:30pm'
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com