Bug #11024 Updated: fileatime do not return date of file but date of system
| From: | sniper@php.net | Date: | Tue, 22 May 2001 20:44:25 +0000 |
| Subject: | Bug #11024 Updated: fileatime do not return date of file but date of system | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56348@lists.php.net to get a copy of this message | ||
ID: 11024
Updated by: sniper
Reported By: lan@v-r.be
Old-Status: Open
Status: Bogus
Bug Type: Filesystem function related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Use filemtime() and only that.
(RTFM)
Previous Comments:
---------------------------------------------------------------------------
[2001-05-22 13:16:47] lan@v-r.be
I have a strange thing
there is my code :
print "[".date("d/m/Y",
fileatime("/usr/log/010521101953.82"))."-".
date("H:i:s",
filectime("/usr/log/010521101953.82"))."]".
"010521101953.82";
Result :
[22/05/2001-10:20:09] 010521101953.82
And when I run ls -l /usr/log/010521101953.82, I see
-rw-rw-rw- 1 usr staff 1806 May 21 10:20 /usr/log/010521101953.82
The time is good, but not the date.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11024&edit=2