PeejAvery
October 11th, 2005, 12:37 PM
It is easy to get the file's last modification time but what about the file's created time and date?
|
Click to See Complete Forum and Search --> : File creation time. PeejAvery October 11th, 2005, 12:37 PM It is easy to get the file's last modification time but what about the file's created time and date? software_engineer October 11th, 2005, 05:09 PM you can get the inode last change time with filectime, which is as close as you can get. PeejAvery October 11th, 2005, 05:26 PM you can get the inode last change time with filectime, which is as close as you can get. Correct me if I am wrong, but won't that just return the same as the modified time? What is the difference between a change in a file and a modification of a file? software_engineer October 12th, 2005, 05:15 AM Correct me if I am wrong, but won't that just return the same as the modified time? What is the difference between a change in a file and a modification of a file? filectime returns when the file was changed (permissions, ownership etc), so it is most likely to change less often than filemtime (which is when the file is modified). the created date is in general not stored. PeejAvery October 12th, 2005, 10:17 PM filectime returns when the file was changed (permissions, ownership etc), so it is most likely to change less often than filemtime (which is when the file is modified). the created date is in general not stored. That is true but not too true. I work with files on a large scale Novell Network. Ownership and permissions are changed all the time. Pretty much there is no way to accomplish what I want with creation time. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |