method

birthtime

Importance_1
v2_2_9 - Show latest stable - 0 notes - Class: File
birthtime() public

Returns the birth time for file.

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

File.new("testfile").birthtime   #=> Wed Apr 09 08:53:14 CDT 2003
Show source
Register or log in to add new notes.