Dumballah v2.3.0 Dumballah
Provides basic functions related to Unix time.
Summary
Functions
Returns your current local time in seconds.
If you need the current UTC time, use DateTime.utc_now/0
,
which is part of the Elixir standard library since 1.3
Returns the Unix epoch in Gregorian seconds
Functions
Specs
now :: timestamp :: integer
Returns your current local time in seconds.
If you need the current UTC time, use DateTime.utc_now/0
,
which is part of the Elixir standard library since 1.3.
Examples
iex> Dumballah.now
1474321894