Bridge

TimeSpan..::..FromDays Method

Returns a TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public static TimeSpan FromDays(
	double value
)
Public Shared Function FromDays ( _
	value As Double _
) As TimeSpan
public:
static TimeSpan^ FromDays(
	double^ value
)

Parameters

value
Type: System..::..Double
A number of days, accurate to the nearest millisecond.

Return Value

An object that represents value.

Exceptions


ExceptionCondition
System..::..OverflowExceptionvalue is less than MinValue or greater than MaxValue. -or-value is PositiveInfinity.-or-value is NegativeInfinity.
System..::..ArgumentExceptionvalue is equal to NaN.