Hi,
seeked for this a lot and didn't find any info...
I'm trying to sort links by date and tried to use the following script in build_sorthit:
foreach $hit (sort {&date_to_unix ($sortby{$b}) <=> &date_to_unix ($sortby{$a})
} (keys %sortby)) {
but it doesn't work and since I'm using windows server I assume the problem is in &date_to_unix...
can anybody help?
Thx
seeked for this a lot and didn't find any info...
I'm trying to sort links by date and tried to use the following script in build_sorthit:
foreach $hit (sort {&date_to_unix ($sortby{$b}) <=> &date_to_unix ($sortby{$a})
} (keys %sortby)) {
but it doesn't work and since I'm using windows server I assume the problem is in &date_to_unix...
can anybody help?
Thx