Cldr.Calendar.modified_julian_day
You're seeing just the function
modified_julian_day
, go back to Cldr.Calendar module for more information.
Returns the Modified Julian Day of
a Date.t
.
Arguments
date
is anyDate.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