[erlang-questions] Replacing erlang:now/0 for getting a unique number

Martin Koroudjiev mrtndimitrov@REDACTED
Fri Sep 18 09:04:30 CEST 2015


Hello,

I have code that users erlang:now/0 to get a unique number. What is the
alternative in OTP 18? In the documentation for erlang:monotonic_time/0
says that consecutive calls might produce same results.

Thanks,
Martin



More information about the erlang-questions mailing list