Summary
Returns the total number of days represented by the specified
System.TimeSpan
, expressed in whole and fractional days.
Syntax
[Function("get-total-days")]
public static double GetTotalDays(TimeSpan value)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
value |
TimeSpan |
A System.TimeSpan . |
Return Value
Type |
Description |
double |
The total number of days represented by the given System.TimeSpan .
|