file_info.mtime and module_info
Vladimir Sekissov
svg@REDACTED
Tue Feb 22 01:03:05 CET 2005
You can compare directly compile time of loaded module and BEAM file one:
http://www.erlang.org/ml-archive/erlang-questions/200411/msg00068.html
Best Regards,
Vladimir Sekissov
erlang-list> Hello,
erlang-list>
erlang-list> Am I right in thinking that the file_info.mtime returned by
erlang-list> file:read_file_info/1 uses local time, whereas
erlang-list> module_info(compile) uses GMT?
erlang-list>
erlang-list> If so, any ideas on how reliably to compare the modification
erlang-list> time of a source file with the time when it was compiled and
erlang-list> loaded?
erlang-list>
erlang-list> Cheers,
erlang-list>
erlang-list> Dominic Williams
erlang-list> http://www.dominicwilliams.net
erlang-list>
erlang-list>
More information about the erlang-questions
mailing list