Manuel Albarran

A random notes about Elixir

Time.now

05 Feb 2017 » elixir, time
:erlang.timestamp == :erlang.now 
#-> {Megaseconds,Seconds,Microseconds}

:calendar.local_time  == :erlang.localtime == {:erlang.date :erlang.time} 
#-> {Date={Year,Month,Day},Time={Hour,Minutes,Seconds}}

:erlang.monotonic_time(:milli_seconds)