Parameters
- value
- A TimeSpan structure that represents the time. This must be specfied in 24 hour time.
- scale
- The scale of the time. The scale can range from 0-6.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Either the value or scale is out of range. |
If the fractional component of the TimeSpan structure contains more digits than what has been specified in the scale, the fraction component will be truncated to match the scale.
Product | Versions | Platforms |
---|---|---|
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |