method

birthtime

v2_2_9 - Show latest stable - Class: File
birthtime(p1)
public

Returns the birth time for the named file.

file_name can be an IO object.

Note that on Windows (NTFS), returns creation time (birth time).

File.birthtime("testfile")   #=> Wed Apr 09 08:53:13 CDT 2003