convert mtime to int instead float to suit for compare