filemtime() on Windows
| From: | Shawn McKenzie | Date: | Thu, 17 Jul 2003 17:38:59 +0000 |
| Subject: | filemtime() on Windows | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155656@lists.php.net to get a copy of this message | ||
I am trying to get the last modified time of an HTML file on my windows
machine. The file is in a sub dir of my script dir and I can use the same
path for file_get_contents() and fopen() and the path works great.
$filetime = date("mdyhis", filemtime("subdir/file.html"));
Always returns: 123169060000 (December 31, 1969)
Any ideas? TIA
-Shawn
Windows XP
PHP 4.3.1
Apache 2.0.45