erlang:system_info( start_time ) as date_time?
bengt
cean.ebengt@REDACTED
Mon Apr 6 22:34:26 CEST 2020
Greetings,
How do I get from
1> erlang:system_info(start_time).
-576460752000000000
to some thing like {{2020,4,6},{22,27,0}} ?
Different question:
Is it possible to find out when a gen_server was started? Or how long it has been running? Without letting init/1 save it in state.
It would help me finding out if a gen_server was started by its supervisor about the time when the data transfer suddenly dipped.
Best Wishes,
bengt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200406/16877e33/attachment.htm>
More information about the erlang-questions
mailing list