/ Published in: Other
Expand |
Embed | Plain Text
% gets a timestamp in ms from the epoch get_timestamp() -> {Mega,Sec,Micro} = erlang:now(), (Mega*1000000+Sec)*1000000+Micro.
You need to login to post a comment.
fuzzylollipop on 11/30/09
timestamp MS erlang milliseconds
2 people have marked this snippet as a favorite
% gets a timestamp in ms from the epoch get_timestamp() -> {Mega,Sec,Micro} = erlang:now(), (Mega*1000000+Sec)*1000000+Micro.
You need to login to post a comment.