Method: File::Stat#ctime

Defined in:
file.c

#ctimeTime

Returns the change time for stat (that is, the time directory information about the file was changed, not the file itself).

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

File.stat("testfile").ctime   #=> Wed Apr 09 08:53:14 CDT 2003

Returns:



1026
1027
1028
1029
1030
# File 'file.c', line 1026

static VALUE
rb_stat_ctime(VALUE self)
{
    return stat_ctime(get_stat(self));
}