note 70186 rejected from function.filemtime by nlopess

From: Date: Sat, 07 Oct 2006 10:14:17 +0000
Subject: note 70186 rejected from function.filemtime by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-118185@lists.php.net to get a copy of this message
Note Submitter: ahmad at infinity-medias dot com ---- it seems that under a server running Windows XP, Apache and PHP5 the difference between the current system time and the creation time of a file will always be 18000 while linux will report the right value which is 0 <? file_put_contents("test", "temp"); echo time() - filemtime("temp"); // windows = 18000 // linux = 0 ?>

« previous php.notes (#118185) next »