Since you have the dates in localtime list format, you can choose among POSIX::strftime()'s %U, %V, and %W formats to get the week for each date. Using the week number as an index into an array, increment the array element for each 'PASSED' flag you see. To get averages, you'll need to keep track of the total number of entries for a week, too.
After Compline,
Zaxo
In reply to Re: Grouping by week
by Zaxo
in thread Grouping by week
by ear
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |