# timespan::get-seconds

[This is preliminary documentation and subject to change.]

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

### Usage

`int timespan::get-seconds(value)`

### Parameters

Name | Type | Description
--- | --- | ---
value | timespan | A TimeSpan.

### Return Value

The number of whole seconds represented by the given TimeSpan.

### Requirements

Assembly: NAnt.Core (0.91.3881.0)