September 2001
Intermediate to advanced
768 pages
32h 45m
English
int fileatime(string filename) Retrieves a file’s last access time.
Returns:
Time; FALSE on error
Description:
Returns the time when the specified file was last accessed. The return value is a UNIX timestamp.
Note:
The results of this function are cached. See clearstatcache() for details.
Example:
$filetime = fileatime("myfile");
echo (date("d M Y", $filetime));
|
Read now
Unlock full access