[erlang-questions] Adding now + interval?
Sergej Jurečko
sergej.jurecko@REDACTED
Wed Nov 26 14:56:56 CET 2014
Adding 500000 to third element in tuple will work just fine. Unless you
really need it to be proper format without overflowing microsecs.
Sergej
On Nov 26, 2014 2:51 PM, "Roger Lipscombe" <roger@REDACTED> wrote:
> IntervalMs = 500,
> Now = os:timestamp(),
> Future = timer:now_add(Now, IntervalMs).
>
> There is no timer:now_add/2 function, so how do I do this?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141126/13557bcc/attachment.htm>
More information about the erlang-questions
mailing list