NaiveDateTime.utc_now

You're seeing just the function utc_now, go back to NaiveDateTime module for more information.
Link to this function

utc_now(calendar \\ Calendar.ISO)

View Source (since 1.4.0)

Specs

utc_now(Calendar.calendar()) :: t()

Returns the current naive datetime in UTC.

Prefer using DateTime.utc_now/0 when possible as, opposite to NaiveDateTime, it will keep the time zone information.

Examples

iex> naive_datetime = NaiveDateTime.utc_now()
iex> naive_datetime.year >= 2016
true