[erlang-questions] erlang:system_time() bug

Serge Aleynikov serge@REDACTED
Sat Nov 14 21:28:02 CET 2015


We noticed that erlang:system_time() returns unexpected results on Windows
(v10 and v7 were tested, while working correctly on Linux:

Windows:
1> erlang:system_time().
1482272700485632
2> erlang:now().
{1447,531971,381000}

Linux:
1> erlang:now().
{1447,531817,353669}
2> erlang:system_time().
1447531823437962212

Note the megaseconds part of the system_time/0 call on Windows is 148...
whereas it should be 144...

While the bug report was added to bugs.erlang.org, I am wondering if this
is a known issue or there's some tweaking related to new time management
functions that needs to be done on Windows?

Serge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151114/0ea1855e/attachment.htm>


More information about the erlang-questions mailing list