Re: what is the format of the filemtime string

From: Date: Wed, 05 Jun 2002 17:37:22 +0000
Subject: Re: what is the format of the filemtime string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100746@lists.php.net to get a copy of this message
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. */

« previous php.general (#100746) next »