file_info.mtime and module_info

Dominic Williams <>
Tue Feb 22 00:36:57 CET 2005


Hello,

Am I right in thinking that the file_info.mtime returned by 
file:read_file_info/1 uses local time, whereas 
module_info(compile) uses GMT?

If so, any ideas on how reliably to compare the modification 
time of a source file with the time when it was compiled and 
loaded?

Cheers,

Dominic Williams
http://www.dominicwilliams.net




More information about the erlang-questions mailing list