# FromTicksLocal(Integer ticks)

| **Name**    | ***FromTicksLocal***                                                         |
| ----------- | ---------------------------------------------------------------------------- |
| Syntax      | FromTicksLocal(Integer ticks)                                                |
| Purpose     | To get local date time for the specified tick value.                         |
| Description | Returns date object representing local date for the specified ticks value.   |
| Return Type | DateTime                                                                     |
| Parameter   | ticks \[System.Int64] – Local ticks for which the date time will be returned |

**Example**

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

In this example, we will pass an integer value, representing ticks, to the function transformation object using a *Variables* object.

Where,

*ticks* = 123456789101111213

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

In the output window you can see that the specified ticks value has been converted into a date time value.

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