# Seconds

| **Name**    | ***Seconds***                                                                           |
| ----------- | --------------------------------------------------------------------------------------- |
| Syntax      | Seconds (TimeSpan timespan)                                                             |
| Purpose     | To return the Seconds component of the specified timeSpan.                              |
| Description | Returns Seconds component of the specified timeSpan.                                    |
| Return Type | Int64                                                                                   |
| Parameter   | timeSpan \[System.TimeSpan] – TimeSpan for which the Seconds component will be returned |

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/lg9R0ETGcHVKdMaDyhCS/0.png)

**Example**

In this example, we will pass the required parameter to the function transformation object using a *Variables* object.

Where,

*timeSpan* = 10.03:02:04 (Format: dd.hh:mm:ss)

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/7UnjxjzQsRr5jknJq4b7/Seconds.png)

In the output window, you can see that the provided value’s Seconds component has been returned.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/w0Prs8UzRy4e0jADsPL3/2.png)
