Spear.parse_stamp

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

parse_stamp(ticks_since_epoch)

View Source (since 0.3.0)

Specs

parse_stamp(stamp :: pos_integer()) :: {:ok, DateTime.t()} | {:error, atom()}

Parses an EventStoreDB timestamp into a DateTime.t() in UTC time.

Examples

iex> Spear.parse_stamp(16187636458580612)
{:ok, ~U[2021-04-18 16:34:05.858061Z]}