Philip J. Newman wrote:

>Is there any way that PHP can grab the time and date of a file ??
If you mean a file's last-access and last-modified date then yes, you 
need the stat() function:

For example:

$stat = stat('file.txt'); 
$modified = date('l, F dS', $stat[9]);
$lastaccess = date('l, F dS', $stat[8]);

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to