Megan Woodruff - 8 months ago 66

C# Question

This isn't a coding question, it is more so a general question about the TimeSpan object in C#. One of the methods of the TimeSpan is a

`Duration().`

`MSDN, this method provides another TimeSpan object that contains the timespan as an absolute value.`

Answer

Absolute value means the distance from zero without regard to the sign of the number. So -4 has an absolute value of 4.

Your number: 736179.14:46:32.5485475 is the absolute value of a `Duration`

.

It is represented in the following format (which I presume is what is confusing to you):

Days.Hours:Minutes:Seconds.Fractional Seconds

```
736179 days
14 hours
46 minutes
32 seconds
5485475 Fractions of a second
```

Source (Stackoverflow)