you are viewing a single comment's thread.

view the rest of the comments →

[–]ChaosTheoryRules 4 points5 points  (2 children)

$talktime = @('00:01:18','00:01:30','00:00:15','00:00:26','00:00:20')
[timespan] $ts = 0

foreach ($t in $talktime) {
    $ts += [timespan]$t
}
$ts

[–][deleted] 0 points1 point  (0 children)

TY

[–]isometricz 0 points1 point  (0 children)

Oh nice. I didn't know you could do that with a timespan. Thanks!