Time out of mind?
After poking around at the XML file that iTunes stores my music library in, I decided to calculate exactly how long I've spent listening to music (at least since I started using iTunes). The Perl script below multiplies the play count for each song by its total time and sums the results. It seems I've spent a total of 3531385497 milliseconds (or just under 41 days) listening to music since October 2004. You?
grep -e "Total Time\|Play Count" ~/Music/iTunes/iTunes\ Music\ Library.xml | perl -ne '($time) = (/<integer>(.*)<\/integer/) if /Total Time/; if (/Play Count/) { ($count) = (/<integer>(.*)<\/integer>/); $total += $time * $count; $time = 0; } print $total, "\n";' | tail -1 | perl -ne '$_ /= 3600000; print $_, "\n"'
Mac users should be able to run this command unchanged at a Terminal prompt. It will print the number of hours you've spent listening to music in iTunes.