On Thursday 06 June 2002 01:34, _michael wrote:
> i am trying to find out when my files were last modified (accessing all
> files on the server is not a problem)
>
> to try and find this i am using: filemtime($file) - but this ruturns a
> string - 1015171598
>
> what is the format of the string? - are there ways to return the last
> modified data in the format "Tue, 19, 200, 20:53" (something along that
> line?
That's a unix timestamp. Use the date functions to convert to something human
readable.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
QOTD:
Money isn't everything, but at least it keeps the kids in touch.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php