★ wanayoo — archive 1999 http://www.php.net/manual/hu/function.filectime.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Filerendszer
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageItalian version of this pageFrench version of this page
Filerendszer
* basename
* chgrp
* chmod
* chown
* clearstatcache
* copy
* delete
* dirname
* diskfreespace
* fclose
* feof
* fgetc
* fgetcsv
* fgets
* fgetss
* file
* file_exists
* fileatime
* filectime
* filegroup
* fileinode
* filemtime
* fileowner
* fileperms
* filesize
* filetype
* flock
* fopen
* fpassthru
* fputs
* fread
* fseek
* fstat
* ftell
* ftruncate
* fwrite
* set_file_buffer
* is_dir
* is_executable
* is_file
* is_link
* is_readable
* is_writeable
* link
* linkinfo
* mkdir
* pclose
* popen
* readfile
* readlink
* rename
* rewind
* rmdir
* stat
* lstat
* realpath
* symlink
* tempnam
* touch
* umask
* unlink
Manual: filectime
View the source code for this pageSearch the site



Previous page
 fileatime
 Updated
Sat, 12 Aug 2000
filegroup 
Next page


filectime

(PHP3 , PHP4 )

filectime -- Get inode change time of file

Description

int filectime (string filename)

Returns the time the file was last changed, or false in case of an error. The time is returned as a Unix timestamp.

The results of this function are cached. See clearstatcache() for more details.


User Contributed Notes: filectime


ian@eiloart.com
23-Jul-1999 08:55
See <a href=/old?u=http%3A%2F%2Fwww.php.net%2Fmanual%2Fhu%2F%26quot%3Bhttp%3A%2Fwww.php.net%2Fmanual%2Ffunction.stat.php3%26quot%3B%26gt%3Bthis&y=1999 note</a> for the difference between filemtime and filectime.


cleong@organic.com
14-Mar-2000 07:57
filectime() returns the creation time, whereas filemtime() returns the last-modified time. At least that's how it works in NT.


flhoest@afrilink.net
02-May-2000 02:52
How can I know the file creation date ? forme filectime is the right function to use but it seems a little bit different if I read the dox :(
please help ;o)



josdav@tfn.net
09-Jul-2000 06:35
if you take the return value of this function, and pass it through date() as follows:
date("m/d/Y", $unixtime);
then you'll come up with a date in month/day/year for the creation.



 About Notes


Previous page
 fileatime
 Updated
Sat, 12 Aug 2000
filegroup 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.