in reply to Sorting by date
I would suggest using DateTime.pm if you want to do this with modules. It is very helpful when it comes to figuring out which month/week of the year a given date falls in.
Otherwise, when I want to avoid using a module and I am dealing with simple things like sorting based on date, I convert the date to the YYYYMMDD format. Now the dates can be sorted numerically very quickly.
Later
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Sorting by date
by Anonymous Monk on Jan 06, 2004 at 11:51 UTC |
In Section
Seekers of Perl Wisdom