Erlang get current time in milliseconds