Exact Duplicate
First question here:
I have two DateTime vars, beginTime and endTime. I have gotten the difference of them by doing the following:
TimeSpan dateDifference = endTime.Subtract(beginTime);
How can I now return a string of this in hh hrs, mm mins, ss secs format using C#.
If the difference was 00:06:32.4458750
It should return this 00 hrs, 06 mins, 32 secs
Thanks for the help