C# TimeSpan and total hours

Posted by Marco on Stack Overflow See other posts from Stack Overflow or by Marco
Published on 2010-06-11T14:18:16Z Indexed on 2010/06/11 14:23 UTC
Read the original article Hit count: 236

Filed under:
|
|

Hi,

i want to subtract two dates and get the total hours of the TimeSpan object that it's returned. For example, if the TimeSpan is of 2 days, the total hours are 48.

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about dates