I need to sort an array whose values will contain dates. However it's not as simple as having a date which is only numbers. The typical format this date will be in is:
Monday, April 28th
However, this date will be user defined, so it may just as well be
04/29/03
So, the array will be something like:
$date[] = "Monday, April 28th";
$date[] = "Thursday, May 1st";
$date[] = "Wed., Apr. 30";
$date[] = "04/29/03";
Is there any way to sort these in chronological order?
Anybody have a usort() function for this?