|
-
October 11th, 2005, 12:37 PM
#1
File creation time.
It is easy to get the file's last modification time but what about the file's created time and date?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
October 11th, 2005, 05:09 PM
#2
Re: File creation time.
you can get the inode last change time with filectime, which is as close as you can get.
-
October 11th, 2005, 05:26 PM
#3
Re: File creation time.
 Originally Posted by software_engineer
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?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
October 12th, 2005, 05:15 AM
#4
Re: File creation time.
 Originally Posted by peejavery
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.
-
October 12th, 2005, 10:17 PM
#5
Re: File creation time.
 Originally Posted by software_engineer
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.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|