Cldr.Calendar.modified_julian_day

You're seeing just the function modified_julian_day, go back to Cldr.Calendar module for more information.
Link to this function

modified_julian_day(date)

View Source

Returns the Modified Julian Day of a Date.t.

Arguments

  • date is any Date.t()

Returns

  • an integer number representing the Modified Julian Day of the date

Notes

The Modified Julian Day is the number of days since November 17, 1858. Therefore this function only returns valid values for dates after this date.

Examples

iex> Cldr.Calendar.modified_julian_day ~D[2019-01-01]
58484