# 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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FLAJ6WjUAtiqlCl26auaO%2F0.png?alt=media)

**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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FfYElBxak6C9oapS72q1T%2F1.png?alt=media)

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

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FmmG0F2G6xFRZNioQ9ryb%2F2.png?alt=media)
