The filemtime works for the following but the minute i use a server name as my direcotry path it gives me an error Warning: filemtime(): Stat failed for \\servername\c (errno=2 - No such file or directory) in Like this works $dir='c:\backups'; echo date("m-d-y H:i:s",filemtime($dir)); if i change the $dir to $dir='\\servername\c\backups'; echo date("m-d-y H:i:s",filemtime($dir)); it fails help is appreciated Thanks Regards, Harpreet Kaur -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php