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

![](/files/7lAofb4FEUfMFbH2eelp)

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

![](/files/bMsMHojoMLqcyVg1bi79)

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

![](/files/qIJoozJLmvW4W8iDGd0q)


---

# 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/fromjuliandaynumber-integer-juliandaynumber.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.
