NAnt SDK Documentation - v0.92 |
|
TimeSpanFunctions.GetTotalSeconds Method
Returns the total number of seconds represented by the specified TimeSpan, expressed in whole and fractional seconds.
[Visual Basic]
<Function(Name:="get-total-seconds")>
Public Shared Function GetTotalSeconds( _
ByVal
value As
TimeSpan _
) As
Double
[C#]
[Function(Name="get-total-seconds")]
public static
double GetTotalSeconds(
TimeSpan value);
Parameters
-
value
- A TimeSpan.
Return Value
The total number of seconds represented by the given TimeSpan.
See Also
TimeSpanFunctions Class | NAnt.Core.Functions Namespace