Creates a TimeSpan that represents the number of days specified by a value specified to the nearest millisecond.
[Visual Basic] Public Shared Function FromDays( _ ByVal value As Double _ ) As TimeSpan [C#] public static TimeSpan FromDays( double value ); [C++] public: static TimeSpan FromDays( double value ); [JScript] public static function FromDays( value : double ) : TimeSpan;
A TimeSpan that represents the number of days specified by value to the nearest millisecond.
The ticks value is computed by converting value from units of days to units of milliseconds, rounding to the nearest integer, and then converting from milliseconds to ticks.
Note that MaxValue is returned if the value parameter is PositiveInfinity. MinValue is returned if value is NegativeInfinity or NaN.
TimeSpan Structure | TimeSpan Members | System Namespace | Double