fileatime

It returns last access time of file

Example

<?php

echo date(“D m Y”,fileatime(“test.txt”));

?>

Output

Fri 05 2007

Share