Skip to content

Instantly share code, notes, and snippets.

@onlyshk
Created October 6, 2011 06:21
Show Gist options
  • Save onlyshk/1266661 to your computer and use it in GitHub Desktop.
Save onlyshk/1266661 to your computer and use it in GitHub Desktop.
diff between time
T2 = erlang:now(),
A = timer:now_diff(T2, T1),
?INFO_MSG("T2 - T1 -- " ++ integer_to_list(A), []),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment