# FromUnixEpoc

| **Name**    | ***FromUnixEpoc***                                              |
| ----------- | --------------------------------------------------------------- |
| Syntax      | FromUnixEpoc(Integer unixEpoc)                                  |
| Purpose     | To get date time object for the specified Unix Epoch value.     |
| Description | Returns date time object representing the specified Unix Epoch. |
| Return Type | DateTime                                                        |
| Parameter   | unixEpoc \[System.Int64]                                        |

**Example**

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/cneuobrVk6h8AInf0Mzg/0.png)

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

Where,

*unixEpoc* = 1660450105

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/p0gOXNNvzGkVijXdt4dm/1.png)

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

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/K4XTSoP3jYI2w2DX6bdR/2.png)
