method
jd_to_civil
v1_8_6_287 -
Show latest stable
- Class:
Date
jd_to_civil(jd, sg=GREGORIAN)public
Convert a Julian Day Number to a Civil <a href="/ruby/Date">Date</a>. jd is the Julian Day Number. sg specifies the Day of Calendar Reform.
Returns the corresponding [year, month, day_of_month] as a three-element array.