Let b be a block containing your session times.

>> b: [1:00:21 2:00 3:30]
== [1:00:21 2:00 3:30]

>> t: 0:0 ; total
== 0:00

>> foreach time b [t: t + time]
== 6:30:21

>> t / length? b
== 2:10:07

Anton.

> I have a series of times which represents session durations of users.
> 
> They are in the format dd:hh:mm
> 
> What I want to figure out is how long the average session takes.
> 
> Do I have to parse out the days and hours into minutes and then 
> work out the average that way and then convert the result back 
> into dd:hh:mm or does someone know of a better way?
> 
> Stuart

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to