Calendar.ISO.day_of_year

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

day_of_year(year, month, day)

View Source (since 1.8.0)

Specs

day_of_year(year(), month(), day()) :: day_of_year()

Calculates the day of the year from the given year, month, and day.

It is an integer from 1 to 366.

Examples

iex> Calendar.ISO.day_of_year(2016, 1, 31)
31
iex> Calendar.ISO.day_of_year(-99, 2, 1)
32
iex> Calendar.ISO.day_of_year(2018, 2, 28)
59