NAnt SDK Documentation - v0.92 |

# TimeSpanFunctions.GetSeconds Method

Returns the number of whole seconds represented by the specified TimeSpan.

[Visual Basic]
<Function(Name:="get-seconds")>
Public Shared Function GetSeconds( _
ByVal value As TimeSpan _
) As Integer
[C#]
[Function(Name="get-seconds")]
public static int GetSeconds(
TimeSpan value
);

#### Parameters

value
  A TimeSpan.

#### Return Value

The number of whole seconds represented by the given TimeSpan.

#### See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace