|
Re: Question on approach: msg#00354perl-beginners
On Fri, Jul 24, 2009 at 04:54, Shawn H. Corey<shawnhcorey@xxxxxxxxx> 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-unsubscribe@xxxxxxxx For additional commands, e-mail: beginners-help@xxxxxxxx http://learn.perl.org/
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |