Date.utc_today
You're seeing just the function
utc_today
, go back to Date module for more information.
Specs
utc_today(Calendar.calendar()) :: t()
Returns the current date in UTC.
Examples
iex> date = Date.utc_today()
iex> date.year >= 2016
true