filemtime

It returns file modification time

Example

<?php

echo date(“D M Y h i s”,filemtime(“test.txt”));

?>

Output

Fri May 2007 03 15 53

Share