Do you need to deal with timestamps in Elixir or Phoenix? This is something for you: http://michal.muskala.eu/2015/07/30/unix-timestamps-in-elixir.html