JULIAN_TO_GREGORIAN_DATE_UDF
Definition
This user-defined function (UDF) is used to transform a Julian date into the formats: JD Edwards, YYYYDDD (astronomical), and YYYYDDD (ordinal).
Parameters
JULIAN_DATE
CHAR
The Julian date to transform.
FORMAT_SELECTED
CHAR
The format required for the logic. E.g. 'E'
, 'J'
, 'R'
. Astronomy standardized or 'J'
is the default format.
Returns
Returns a variant with the date representation of the Julian date.
Usage example
Input:
Output:
Last updated