in reply to Grouping by week
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Grouping by week
by ear (Acolyte) on Sep 19, 2003 at 16:09 UTC |