method

mtime

v1_8_7_72 - Show latest stable - Class: File
mtime(p1)
public

Returns the modification time for the named file as a Time object.

   File.mtime("testfile")   #=> Tue Apr 08 12:58:04 CDT 2003