© Copyright 2023, Astera Software
Name
ToJulianDate
Syntax
ToJulianDate (Date dateTime)
Purpose
To convert a date to a Julian date.
Description
Returns a decimal number indicating Julian date value of the specified date time value.
Return Type
Decimal
Parameter
dateTime [System.DateTime] – DateTime object for which the Julian Date will be returned
Example
In this example, we will pass a valid date time value to the function transformation object using a Variables object.
Where,
dateTime = 09/08/2050 10:24:30 AM
In the output window, you can see that the provided date time value has been converted into a Julian date.