Briefest way do display TimeSpan value as an elapsed time e.g. 1:45:33

Posted by jdk on Stack Overflow See other posts from Stack Overflow or by jdk
Published on 2010-05-28T22:40:28Z Indexed on 2010/05/28 22:42 UTC
Read the original article Hit count: 98

Filed under:
|

I'd like an easy way to display any TimeSpan as an elapsed time without using loops are custom logic

hours : minutes : seconds

I'm sure there must be a .NET built-in or format string that applies, however I'm unable to locate it.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .net-2.0