file_mod_time=`date +%s -r "$1"`

echo $((`date +%s` - $file_mod_time))