Average time from database list in C# with ASP MVC?

Posted by Jacob Huggart on Stack Overflow See other posts from Stack Overflow or by Jacob Huggart
Published on 2010-05-11T17:49:11Z Indexed on 2010/05/11 17:54 UTC
Read the original article Hit count: 258

Filed under:
|
|
|

I have a list of times that I have acquired from a sql database and I need to find the average time. I tried just doing list.average() and list.sum(), but neither of those work with timespan lists. What do you all suggest?

btw, time is returned in a hh:mm:ss format.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about c#