Using date() with the function fileatime() doesn't return accurate timestamp...

From: Date: Thu, 12 Feb 2004 18:38:52 +0000
Subject: Using date() with the function fileatime() doesn't return accurate timestamp...
Groups: php.general 
Request: Send a blank email to php-general+get-177536@lists.php.net to get a copy of this message
I saw the article at http://us2.php.net/manual/en/function.fileatime.php and gave it a shot with the timestamp for the file but it doesn't work correctly because it only returned the current timestamp (as it is from our watch or clock) but not the one from the file... I had verify that the file is correct and that the date() is working correctly and that the timeatime() is working correctly if they are tested independantly, so it is just putting them all three together cause them not to work right... --snip-- $current_filename = "test.pdf"; echo (date('F j, Y, h:i a', (fileatime($current_filename)))); --snip-- What did I do wrong?? Scott F.

« previous php.general (#177536) next »