# FromJulianDayNumber (Integer julianDayNumber)

| **Name**    | ***FromJulianDayNumber***                                                |
| ----------- | ------------------------------------------------------------------------ |
| Syntax      | FromJulianDayNumber (Integer julianDayNumber)                            |
| Purpose     | To convert a Julian day number to a date.                                |
| Description | Returns the corresponding date time value for the specified Julian date. |
| Return Type | DateTime                                                                 |
| Parameter   | julianDayNumber \[System.Int64] – Julian day                             |

**Example**

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

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

Where,

*julianDayNumber* = 2253045

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

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

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