Hi there! I'm building a small file manager, and I'd like to print the last modified date for a specific file. I tried filemtime() but I did't get what I expected (let's say DD/MM/YYYY HH:MM:SS format) Anyone has a suggestion? Thanks
Hi,
filemtime() returns an UNIX timestamp that can be formatted with the function date(). Example: date("d/m/Y H:i:s", filemtime("yourfile"));
firemouse2001
http://php.net/manual/en/ - and go to the section about "date & time". There is a whole big list of functions dealing with that, and some suggestions from other people on how to use them.