in reply to sorting mm/dd/yy
Convert to the one true date format of yyyy-mm-dd and just use the default sort:
and thank vroom that the y2k thing finally blew over so you don't have to do that 2-digit-to-4-digit year conversion thing the "proper" way anymore.foreach( keys %totals ) { $totals{$_}= "20" . join "-",( split m#/#, delete $totals{$_} )[2,0,1]; }
update: got the one true date format wrong the first time... i'm so ashamed...
- tye (and not even my friends are sure when I'm joking)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: sorting mm/dd/yy
by 2501 (Pilgrim) on Dec 15, 2000 at 10:13 UTC | |
|
Re: (tye)Re: sorting mm/dd/yy
by mirod (Canon) on Dec 15, 2000 at 17:35 UTC |