You are here: Re: File Created Date? « PHP Programming Language « IT news, forums, messages
Re: File Created Date?

Posted by Jasen Betts on 02/14/06 06:31

On 2006-02-13, Gordon Burditt <gordonb.czonn@burditt.org> wrote:
>>I know about getlastmod() but is there one for created date?
>>
>>If not is there some other way of getting the created date of a file?

filemtime, stat, fstat, lstat, `ls -lc $fname` ....

> Very few operating systems keep the created date of a file.

Linux, and and anything with VFAT or NTFS ( = windows-32bit+) do.

I'd be surprised if BSD or OS/X are different.

which OS's don't?


Under linux the "creation" date is really the date of last change of the inode
(last time the file changed size or access permissions) and the
modification time is the time the file data was written.

access time is the last time the file content was read, VFAT only stores
the access date IIRC. dunno about NTFS.




Bye.
Jasen

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация