method

jd_to_ordinal

v1_8_7_72 - Show latest stable - Class: Date
jd_to_ordinal(jd, sg=GREGORIAN)
public

Convert a Julian Day Number to an Ordinal Date.

jd is the Julian Day Number to convert. sg specifies the Day of Calendar Reform.

Returns the corresponding Ordinal Date as [year, day_of_year]