NAnt SDK Documentation - v0.92 |

# TimeSpanFunctions.FromDays Method

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

[Visual Basic]
<Function(Name:="from-days")>
Public Shared Function FromDays( _
ByVal value As Double _
) As TimeSpan
[C#]
[Function(Name="from-days")]
public static TimeSpan FromDays(
double value
);

#### Parameters

value
  A number of days, accurate to the nearest millisecond.

#### Return Value

A TimeSpan that represents value.

#### See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace