# Milliseconds

Milliseconds (TimeSpan timeSpan)

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

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

**Example**

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

Where,

*timeSpan* = 05.04:03:02.1200000

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/kfVih5isAypUw92il5di/Milliseconds.png)

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

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/T4UgaPgxjFaADCFnxmiT/Milliseconds%20Output.png)
