JulianToDate (String julianDate)
Name | JulianToDate |
Syntax | JulianToDate (String julianDate) |
Purpose | To convert the given Julian date string to a date time value. |
Description | Converts the specified Julian date string into a DateTime value. |
Return Type | DateTime |
Parameter | julianDate [System.String] – String Julian date to be converted into Date time |
Example
![](https://documentation.astera.com/~gitbook/image?url=https%3A%2F%2Fgithub.com%2Fastera-software%2FAstera_Data_Stack_v9%2Fblob%2Fmain%2F.gitbook%2Fassets%2F0%2520%28149%29.png&width=768&dpr=4&quality=100&sign=8af28096&sv=1)
In this example, we will pass a Julian date string to the function transformation object using a Variables object.
Where,
julianDate = 2356765
![](https://documentation.astera.com/~gitbook/image?url=https%3A%2F%2Fgithub.com%2Fastera-software%2FAstera_Data_Stack_v9%2Fblob%2Fmain%2F.gitbook%2Fassets%2F1%2520%28150%29.png&width=768&dpr=4&quality=100&sign=98afac45&sv=1)
In the output window, you can see that the provided value has been converted into a date time value.