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

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

In the output window you can see that the specified Unix epoch 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%2F6FRFoecaVOLW9cxlGELF%2F2.png?alt=media)
