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

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

Where,

*ticks* = 123456789101111213

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

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

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