How can I get the date of when a file was created? I am running Windows.
Unix systems don't store the time of file creation. Unix systems do store the last time the file was read (if atime
is turned on for that specific file system; sometimes it is disabled for speed), the last time the file was modified (mtime
), and the last time the file's metadata changed (ctime
).
See the stat(2)
manpage for details on using it.