#11024 [Com]: fileatime do not return date of file but date of system
| From: | chat-gay730 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:04:13 +0000 |
| Subject: | #11024 [Com]: fileatime do not return date of file but date of system | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62906@lists.php.net to get a copy of this message | ||
ID: 11024
Comment by: chat-gay730 at hotmail dot com
Reported By: lan at v-r dot be
Status: Bogus
Bug Type: Filesystem function related
Operating System: AIX 4.3
PHP Version: 4.0.5
New Comment:
<a href=http://best-animal-sexpost.da.ru>chat
gay</a>
Previous Comments:
------------------------------------------------------------------------
[2001-05-22 22:44:25] sniper@php.net
Use filemtime() and only that.
(RTFM)
------------------------------------------------------------------------
[2001-05-22 13:16:47] lan at v-r dot 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11024&edit=1