TimeSpan..::..FromDays Method
Returns a TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- value
- Type: System..::..Double
A number of days, accurate to the nearest millisecond.
Return Value
An object that represents value.Exceptions
Exception | Condition |
---|---|
System..::..OverflowException | value is less than MinValue or greater than MaxValue. -or-value is PositiveInfinity.-or-value is NegativeInfinity. |
System..::..ArgumentException | value is equal to NaN. |