On Fri, Jul 24, 2009 at 04:54, Shawn H. Corey<shawnhco...@gmail.com> wrote:
> Chas. Owens wrote:
>>
>> That date format is directly sortable, so unless you have another
>> reason to convert to epoch time just use a string comparison in the
>> sort.  I would probably write the code like this:
>
> Unfortunately, the data is not directly sortable since the date is in
> American format, not Système International (SI).  SI dates are directly
> sortable and are the preferred format for storing dates.
snip

I have no idea what was wrong with me last night.  You are absolutely
right, those are not in a sortable format.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to