[This is preliminary documentation and is subject to change.]
Returns a TimeSpanFormattable that represents a specified number of days, where the specification is accurate to the nearest millisecond.
Namespace: ToolsAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static TimeSpanFormattable FromDays( double value ) |
| Visual Basic |
|---|
Public Shared Function FromDays ( _ value As Double _ ) As TimeSpanFormattable |
| Visual C++ |
|---|
public: static TimeSpanFormattable FromDays( double value ) |
| F# |
|---|
static member FromDays : value:float -> TimeSpanFormattable |
| JScript |
|---|
public static function FromDays( value : double ) : TimeSpanFormattable |
Parameters
- value
- Type: System..::..Double
A number of days, accurate to the nearest millisecond.
Return Value
A TimeSpanFormattable that represents value.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | value is equal to NaN. |
| System..::..OverflowException | value is less than MinValue or greater than MaxValue. |