# 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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Fi0Nj7tjKiC2Ke6Nsm69Y%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* = 05:04:03:02.120

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

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

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