Spear.parse_stamp
You're seeing just the function
parse_stamp
, go back to Spear module for more information.
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]}