# UnixTimeStampToDateTime (Real unixTimeStamp)

| **Name**    | ***UnixTimeStampToDateTime***                                            |
| ----------- | ------------------------------------------------------------------------ |
| Syntax      | UnixTimeStampToDateTime (Real unixTimeStamp)                             |
| Purpose     | To convert a Unix time stamp to a date time value.                       |
| Description | Converts Unix time stamp to a date time value.                           |
| Return Type | Real                                                                     |
| Parameter   | unixTimeStamp \[System.Double] – UNIX timestamp to convert into Datetime |

**Example**

<figure><img src="https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/0%20(168).png" alt=""><figcaption></figcaption></figure>

In this example, we will pass a Unix time stamp value to the function transformation object using a *Variables* object.

Where,

*unixTimeStamp* ­= 1431053627.234523

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

In the output window, you can see that the provided Unix time stamp value has been converted into a date time value.

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