# 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**

![](/files/nsF2KXeLcbb76HliMBH1)

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

Where,

*ticks* = 123456789101111213

![](/files/8Yk2QKXBPDAL0xhrCYzH)

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

![](/files/6sFfWpdbt8498mvWIJwL)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/functions/date-time/fromtickslocal-integer-ticks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
