here's a shortened version of the method if you're interested:

Code:
alias week return $ceil($calc((($ctime - $ctime(0:0 $time(1/1/yy))) / 86400 - $findtok(Mon Tue Wed Thu Fri Sat Sun,$time(ddd),32) + 4) / 7))


i wonder if anyone can figure out a shorter way to map $day or $time(ddd) onto an integer? :P


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde