NAnt SDK Documentation - v0.92

TimeSpanFunctions.GetTotalDays Method 

Returns the total number of days represented by the specified TimeSpan, expressed in whole and fractional days.

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

Parameters

value
A TimeSpan.

Return Value

The total number of days represented by the given TimeSpan.

See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace