ID: 11024 Updated by: sniper Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]