Created
November 17, 2015 06:47
-
-
Save hagiyat/16bec3d1b2de4e849971 to your computer and use it in GitHub Desktop.
If you write a Ruby of Time.now.to_i in Elixir?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mix.exs | |
defp deps do | |
[{:timex, "~> 1.0.0-rc2"}] | |
end | |
# on your source | |
Timex.Time.now(:secs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment