Reply to Re: File Created Date?

Your name:

Reply:


Posted by Ivαn Sαnchez Ortega on 02/14/06 03:11

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gordon Burditt wrote:
> >If not is there some other way of getting the created date of a file?

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

It's not about Operating Systems (Win, Linux, Mac), but File Systems (FAT,
NTFS, HPFS, UFS, ext2, ext3, ReiserFS, XFS, JFS).

Different filesystems keep different metadata about the files, but most of
them don't keep track of the creation time of the file. Have a look at
http://en.wikipedia.org/wiki/Stat_(Unix) for a better understanding of the
"ctime" field, which will be, in most cases, the closest you'll get to the
file creation time. Also, have a look at
http://es.php.net/manual/en/function.filectime.php and
http://es.php.net/manual/en/function.stat.php

- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net

http://acm.asoc.fi.upm.es/~mr/ ; http://acm.asoc.fi.upm.es/~ivan/
MSN:i_eat_s_p_a_m_for_breakfast@hotmail.com
Jabber:ivansanchez@jabber.org ; ivansanchez@kdetalk.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD8S4z3jcQ2mg3Pc8RApz0AJ4798wVWUoSOL3esZQx9HskNMxvvACfbbw3
i2UuDYWjHcO26hpfUp4+Mcg=
=WaTX
-----END PGP SIGNATURE-----

[Back to original 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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация