>
Motiejus Jakštys <> wrote: mj> os:timestamp() is a slightly faster version of erlang:now(). Slight correction: it's quite a bit faster than erlang:now(), if you're executing in a heavily loaded VM on an multi-core machine. IIRC (untested code): now_as_time_t() -> {A, B, _} = os:timestamp(), (A * 1000000) + B. -Scott