note
pzbagel
<P>I would suggest using <a href="http://search.cpan.org/search?query=datetime&mode=all">DateTime.pm</a> 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.
<P>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.
<P>Later
318983
318983