# 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://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/0%20\(5\).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.120

![](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/1%20\(5\).png)

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

![](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/2%20\(5\).png)
