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

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

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