|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-03-27 11:03 UTC] copong at gmail dot com
Description: ------------ --- From manual page: http://www.php.net/function.filemtime#refsect1- function.filemtime-description --- It returns a UNIX timestamp. Documentation should reflect this - how do I know it doesn't return a DateTime object, for example? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 18:00:02 2025 UTC |
The page already states: The time is returned as a Unix timestamp, which is suitable for the date() function. And the function prototype at the top of the page says: int filemtime ( string $filename ) That should be information enough to know it doesn't return a DateTime object.